fix(deps): update symfony packages to v7.2.0 #104
Annotations
10 warnings
🧪 Run mutation testing using Xdebug and infection/infection:
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, []);
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
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 */
|
🧪 Run mutation testing using Xdebug and infection/infection:
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)
{
}
/**
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
🧪 Run mutation testing using Xdebug and infection/infection:
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]);
|
Loading