chore(master): release 2.1.2 #39
Annotations
10 warnings
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, []);
}
}
|
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)
{
}
/**
|
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]);
|
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]);
|
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]);
|
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]);
|
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]);
|
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]);
|
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]);
|
src/DefaultNormalizerRegistrationStrategy.php#L40
Escaped Mutant for Mutator "IncrementInteger":
--- 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' => 201]);
(yield ['normalizer' => new Normalizer\DateTimeNormalizer(), 'priority' => 250]);
(yield ['normalizer' => new Normalizer\ConstraintViolationListNormalizer(), 'priority' => 300]);
(yield ['normalizer' => new Normalizer\MimeMessageNormalizer(new Normalizer\PropertyNormalizer()), 'priority' => 350]);
|
This job succeeded
Loading