Configure Renovate #23
build.yaml
on: pull_request
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation tests
Matrix: Static Code Analysis
Matrix: Unit tests
Annotations
26 warnings
Coding Standards (7.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Code Analysis (7.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Code Analysis (8.1, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Code Analysis (8.2, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Code Analysis (8.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (8.2, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (8.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (7.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (8.1, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Mutation tests (8.2, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Mutation tests (8.2, highest):
src/Client/Client.php#L77
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$request = $request->withHeader('Authorization', sprintf('Basic %s', base64_encode($this->apiKey . ':' . $this->apiSecret)));
$this->lastRequest = $request;
$this->lastResponse = $this->getHttpClient()->sendRequest($this->lastRequest);
- self::assertStatusCode($this->lastResponse);
+
return $this->lastResponse;
}
public function get(string $uri, array $query = []) : ResponseInterface
|
Mutation tests (8.2, highest):
src/Client/Client.php#L99
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
if (null === $this->boxesEndpoint) {
$this->boxesEndpoint = new BoxesEndpoint($this, $this->getMapperBuilder());
- $this->boxesEndpoint->setLogger($this->logger);
+
}
return $this->boxesEndpoint;
}
|
Mutation tests (8.2, highest):
src/Client/Client.php#L164
Escaped Mutant for Mutator "LessThan":
--- Original
+++ New
@@ @@
private static function assertStatusCode(ResponseInterface $response) : void
{
$statusCode = $response->getStatusCode();
- if ($statusCode >= 200 && $statusCode < 300) {
+ if ($statusCode >= 200 && $statusCode <= 300) {
return;
}
NotFoundException::assert($response);
|
Mutation tests (8.2, highest):
src/Client/Client.php#L164
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
private static function assertStatusCode(ResponseInterface $response) : void
{
$statusCode = $response->getStatusCode();
- if ($statusCode >= 200 && $statusCode < 300) {
+ if ($statusCode >= 200 || $statusCode < 300) {
return;
}
NotFoundException::assert($response);
|
Mutation tests (8.2, highest):
src/Client/Endpoint/BoxesEndpoint.php#L23
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
{
public function getAvailableLockers(string $countryCode, string $postalCode, int $collectionPointId = null, string $language = null, int $width = null, int $height = null, int $length = null, \DateTimeInterface $readyToShip = null) : BoxCollection
{
- $response = $this->client->get(sprintf('boxes/postalcodes/validate/%s/%s', $countryCode, $postalCode), ['collectionPointId' => $collectionPointId, 'language' => $language, 'width' => $width, 'height' => $height, 'length' => $length, 'readyToShip' => $readyToShip]);
+ $response = $this->client->get(sprintf('boxes/postalcodes/validate/%s/%s', $countryCode, $postalCode), ['language' => $language, 'width' => $width, 'height' => $height, 'length' => $length, 'readyToShip' => $readyToShip]);
return $this->mapperBuilder->mapper()->map(BoxCollection::class, $this->createSourceFromResponse($response)->map(['lockers' => 'boxes']));
}
public function getLockerByIdentifier(string $identifier) : ?Box
|
Mutation tests (8.2, highest):
src/Exception/ResponseAwareException.php#L17
Escaped Mutant for Mutator "UnwrapTrim":
--- Original
+++ New
@@ @@
public function __construct(ResponseInterface $response)
{
$message = sprintf('The status code was: %d.', $response->getStatusCode());
- $body = trim((string) $response->getBody());
+ $body = (string) $response->getBody();
if ('' !== $body) {
$message .= sprintf(' The body was: %s.', $body);
}
|
Mutation tests (8.2, highest):
src/Exception/ResponseAwareException.php#L22
Escaped Mutant for Mutator "UnwrapTrim":
--- Original
+++ New
@@ @@
if ('' !== $body) {
$message .= sprintf(' The body was: %s.', $body);
}
- parent::__construct(trim($message));
+ parent::__construct($message);
$this->response = $response;
}
public function getResponse() : ResponseInterface
|
Code Coverage (8.2, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (7.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (8.1, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (8.2, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (8.1, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (8.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (8.2, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (8.0, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (7.4, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|