Lock file maintenance #1281
Annotations
10 warnings
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/DuplicatedFieldNameInMetadata.php#L15
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
private function __construct(string $message)
{
- parent::__construct($message);
+
}
/**
* @param class-string $classA
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Metadata/MissingDataSubjectId.php#L16
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
/** @param class-string $class */
public function __construct(string $class)
{
- parent::__construct(sprintf('Personal data cannot used without a subject id. Please provide a subject id for %s.', $class));
+
}
}
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Metadata/MultipleDataSubjectId.php#L15
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
public function __construct(string $firstProperty, string $secondProperty)
{
- parent::__construct(sprintf('Multiple data subject id found: %s and %s.', $firstProperty, $secondProperty));
+
}
}
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Metadata/PropertyMetadata.php#L26
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*/
final class PropertyMetadata
{
- public function __construct(private readonly ReflectionProperty $reflection, private readonly string $fieldName, private readonly Normalizer|null $normalizer = null, private readonly bool $isPersonalData = false, private readonly mixed $personalDataFallback = null)
+ public function __construct(private readonly ReflectionProperty $reflection, private readonly string $fieldName, private readonly Normalizer|null $normalizer = null, private readonly bool $isPersonalData = true, private readonly mixed $personalDataFallback = null)
{
}
public function reflection() : ReflectionProperty
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Metadata/PropertyMetadataNotFound.php#L15
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
private function __construct(string $message)
{
- parent::__construct($message);
+
}
public static function withName(string $name) : self
{
|