Skip to content

Update dependency phpstan/phpstan to v2 #1375

Update dependency phpstan/phpstan to v2

Update dependency phpstan/phpstan to v2 #1375

Triggered via pull request November 12, 2024 03:04
Status Success
Total duration 2m 6s
Artifacts

mutation-tests.yml

on: pull_request
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation tests (locked, 8.3, ubuntu-latest): src/ClassNotSupported.php#L17
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ /** @param class-string $className */ public function __construct(string $className, Throwable|null $previous = null) { - parent::__construct(sprintf('Class %s not supported', $className), 0, $previous); + parent::__construct(sprintf('Class %s not supported', $className), -1, $previous); } }
Mutation tests (locked, 8.3, ubuntu-latest): src/ClassNotSupported.php#L17
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ /** @param class-string $className */ public function __construct(string $className, Throwable|null $previous = null) { - parent::__construct(sprintf('Class %s not supported', $className), 0, $previous); + parent::__construct(sprintf('Class %s not supported', $className), 1, $previous); } }
Mutation tests (locked, 8.3, ubuntu-latest): src/ClassNotSupported.php#L17
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ /** @param class-string $className */ public function __construct(string $className, Throwable|null $previous = null) { - parent::__construct(sprintf('Class %s not supported', $className), 0, $previous); + } }
Mutation tests (locked, 8.3, ubuntu-latest): src/Cryptography/Cipher/OpensslCipher.php#L65
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private function dataDecode(string $data) : mixed { - return json_decode($data, true, 512, JSON_THROW_ON_ERROR); + return json_decode($data, true, 511, JSON_THROW_ON_ERROR); } }
Mutation tests (locked, 8.3, ubuntu-latest): src/Cryptography/Cipher/OpensslCipher.php#L65
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } private function dataDecode(string $data) : mixed { - return json_decode($data, true, 512, JSON_THROW_ON_ERROR); + return json_decode($data, true, 513, JSON_THROW_ON_ERROR); } }
Mutation tests (locked, 8.3, ubuntu-latest): src/DenormalizationFailure.php#L20
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public function __construct(string $class, string $property, string $normalizer, Throwable $e) { - parent::__construct(sprintf('denormalization for the property "%s" in the class "%s" with the normalizer "%s" failed.', $property, $class, $normalizer), 0, $e); + } }
Mutation tests (locked, 8.3, ubuntu-latest): src/DenormalizationFailure.php#L27
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public function __construct(string $class, string $property, string $normalizer, Throwable $e) { - parent::__construct(sprintf('denormalization for the property "%s" in the class "%s" with the normalizer "%s" failed.', $property, $class, $normalizer), 0, $e); + parent::__construct(sprintf('denormalization for the property "%s" in the class "%s" with the normalizer "%s" failed.', $property, $class, $normalizer), -1, $e); } }
Mutation tests (locked, 8.3, ubuntu-latest): src/DenormalizationFailure.php#L27
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public function __construct(string $class, string $property, string $normalizer, Throwable $e) { - parent::__construct(sprintf('denormalization for the property "%s" in the class "%s" with the normalizer "%s" failed.', $property, $class, $normalizer), 0, $e); + parent::__construct(sprintf('denormalization for the property "%s" in the class "%s" with the normalizer "%s" failed.', $property, $class, $normalizer), 1, $e); } }
Mutation tests (locked, 8.3, ubuntu-latest): src/Metadata/ClassNotFound.php#L16
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ /** @param class-string $className */ public function __construct(string $className) { - parent::__construct(sprintf('Class %s not found', $className)); + } }
Mutation tests (locked, 8.3, ubuntu-latest): src/Metadata/DuplicatedFieldNameInMetadata.php#L15
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { private function __construct(string $message) { - parent::__construct($message); + } /** * @param class-string $classA