Update infection badge #2197
Annotations
10 errors
|
InvalidArgument:
tests/Unit/Cryptography/CryptographySubscriberTest.php#L39
tests/Unit/Cryptography/CryptographySubscriberTest.php:39:13: InvalidArgument: Argument 2 of Patchlevel\Hydrator\Event\PreHydrate::__construct expects Patchlevel\Hydrator\Metadata\ClassMetadata<object>, but Patchlevel\Hydrator\Metadata\ClassMetadata<stdClass> provided (see https://psalm.dev/004)
|
|
MixedReturnStatement:
tests/Unit/Cryptography/Cipher/OpensslCipherTest.php#L56
tests/Unit/Cryptography/Cipher/OpensslCipherTest.php:56:44: MixedReturnStatement: Providers must return iterable<array-key, array<array-key, mixed>>, possibly different Generator provided (see https://psalm.dev/138)
|
|
DeprecatedClass:
src/Normalizer/ObjectNormalizer.php#L77
src/Normalizer/ObjectNormalizer.php:77:28: DeprecatedClass: Patchlevel\Hydrator\Normalizer\ReflectionTypeUtil is marked deprecated (see https://psalm.dev/098)
|
|
DeprecatedInterface:
src/Normalizer/ObjectNormalizer.php#L17
src/Normalizer/ObjectNormalizer.php:17:13: DeprecatedInterface: Patchlevel\Hydrator\Normalizer\ReflectionTypeAwareNormalizer is marked deprecated (see https://psalm.dev/152)
|
|
DeprecatedClass:
src/Normalizer/EnumNormalizer.php#L67
src/Normalizer/EnumNormalizer.php:67:23: DeprecatedClass: Patchlevel\Hydrator\Normalizer\ReflectionTypeUtil is marked deprecated (see https://psalm.dev/098)
|
|
DeprecatedInterface:
src/Normalizer/EnumNormalizer.php#L19
src/Normalizer/EnumNormalizer.php:19:13: DeprecatedInterface: Patchlevel\Hydrator\Normalizer\ReflectionTypeAwareNormalizer is marked deprecated (see https://psalm.dev/152)
|
|
RiskyTruthyFalsyComparison:
src/Metadata/PropertyMetadata.php#L90
src/Metadata/PropertyMetadata.php:90:13: RiskyTruthyFalsyComparison: Operand of type callable(string, mixed):mixed|null contains type callable(string, mixed):mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
InvalidReturnStatement:
src/Metadata/AttributeMetadataFactory.php#L311
src/Metadata/AttributeMetadataFactory.php:311:20: InvalidReturnStatement: The inferred type 'list{false, null}' does not match the declared return type 'list{bool, mixed, callable(string, mixed):mixed|null}' for Patchlevel\Hydrator\Metadata\AttributeMetadataFactory::getPersonalData (see https://psalm.dev/128)
|
|
InvalidReturnType:
src/Metadata/AttributeMetadataFactory.php#L305
src/Metadata/AttributeMetadataFactory.php:305:17: InvalidReturnType: The declared return type 'list{bool, mixed, callable(string, mixed):mixed|null}' for Patchlevel\Hydrator\Metadata\AttributeMetadataFactory::getPersonalData is incorrect, got 'list{0: bool, 1: mixed|null, 2?: callable(string, mixed):mixed|null}' which is different due to additional array shape fields (2) (see https://psalm.dev/011)
|
|
MixedPropertyTypeCoercion:
src/Attribute/PersonalData.php#L20
src/Attribute/PersonalData.php:20:35: MixedPropertyTypeCoercion: $this->fallbackCallable expects 'callable(string, mixed):mixed|null', parent type `callable|null` provided (see https://psalm.dev/196)
|