Skip to content

chore(deps): update phpstan packages #66

chore(deps): update phpstan packages

chore(deps): update phpstan packages #66

Triggered via pull request August 8, 2024 11:42
Status Success
Total duration 1m 24s
Artifacts

testing.yml

on: pull_request
Matrix: arch-testing
Matrix: code-coverage
Matrix: mutation-testing
Matrix: unit-testing
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
mutation-testing (ubuntu-latest, 8.2, locked): src/Bridge/Laravel/Http/ResponseFactory.php#L83
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function respondWithJson(mixed $content, int $status) : IlluminateResponse { - return new IlluminateResponse($content, $status, ['Content-Type' => 'application/json']); + return new IlluminateResponse($content, $status, []); } }
mutation-testing (ubuntu-latest, 8.2, locked): src/Config.php#L30
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ private const REQUIRED_FIELDS = ['default', 'debug', 'normalizerRegistrationStrategy', 'encoderRegistrationStrategy', 'metadataLoader']; public function __construct( private readonly string $defaultSerializer = 'symfony-json', - private readonly bool $debug = false, + private readonly bool $debug = true, /** @var class-string<NormalizerRegistrationStrategy>|null */ private readonly ?string $normalizerRegistrationStrategy = null, /** @var class-string<EncoderRegistrationStrategy>|null */
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L26
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ use function interface_exists; final readonly class DefaultNormalizerRegistrationStrategy implements NormalizerRegistrationStrategy { - public function __construct(private LoaderInterface $loader, private bool $debugMode = false) + public function __construct(private LoaderInterface $loader, private bool $debugMode = true) { } /**
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L37
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ public function normalizers() : iterable { $factory = new ClassMetadataFactory($this->loader); - (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); + (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 49]); (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]);
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L37
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function normalizers() : iterable { $factory = new ClassMetadataFactory($this->loader); - (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); + (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 51]); (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]);
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L38
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $factory = new ClassMetadataFactory($this->loader); (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); - (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); + (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 99]); (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]); (yield ['normalizer' => new Normalizer\DateTimeNormalizer(), 'priority' => 250]);
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L38
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { $factory = new ClassMetadataFactory($this->loader); (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); - (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); + (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 101]); (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]); (yield ['normalizer' => new Normalizer\DateTimeNormalizer(), 'priority' => 250]);
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L39
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $factory = new ClassMetadataFactory($this->loader); (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); - (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); + (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 149]); (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]); (yield ['normalizer' => new Normalizer\DateTimeNormalizer(), 'priority' => 250]); (yield ['normalizer' => new Normalizer\ConstraintViolationListNormalizer(), 'priority' => 300]);
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L39
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $factory = new ClassMetadataFactory($this->loader); (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); - (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); + (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 151]); (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]); (yield ['normalizer' => new Normalizer\DateTimeNormalizer(), 'priority' => 250]); (yield ['normalizer' => new Normalizer\ConstraintViolationListNormalizer(), 'priority' => 300]);
mutation-testing (ubuntu-latest, 8.2, locked): src/DefaultNormalizerRegistrationStrategy.php#L40
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ (yield ['normalizer' => new Normalizer\UnwrappingDenormalizer(), 'priority' => 50]); (yield ['normalizer' => new Normalizer\ProblemNormalizer(debug: $this->debugMode), 'priority' => 100]); (yield ['normalizer' => new Normalizer\UidNormalizer(), 'priority' => 150]); - (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 200]); + (yield ['normalizer' => new Normalizer\JsonSerializableNormalizer(), 'priority' => 199]); (yield ['normalizer' => new Normalizer\DateTimeNormalizer(), 'priority' => 250]); (yield ['normalizer' => new Normalizer\ConstraintViolationListNormalizer(), 'priority' => 300]); (yield ['normalizer' => new Normalizer\MimeMessageNormalizer(new Normalizer\PropertyNormalizer()), 'priority' => 350]);