Update vimeo/psalm requirement from 4.30.0 to 5.16.0 #247
Annotations
15 errors
InvalidArrayOffset:
src/Decoders.php#L145
src/Decoders.php:145:33: InvalidArrayOffset: Cannot access value on variable $args using a int<-2, max> offset, expecting int<0, max> (see https://psalm.dev/115)
|
MixedArgument:
src/Decoders.php#L145
src/Decoders.php:145:33: MixedArgument: Argument 1 of Facile\PhpCodec\Internal\Combinators\UnionDecoder::__construct cannot be mixed, expecting Facile\PhpCodec\Decoder<mixed, mixed> (see https://psalm.dev/030)
|
InvalidArrayOffset:
src/Decoders.php#L145
src/Decoders.php:145:51: InvalidArrayOffset: Cannot access value on variable $args using a int<-1, max> offset, expecting int<0, max> (see https://psalm.dev/115)
|
MixedArgument:
src/Decoders.php#L145
src/Decoders.php:145:51: MixedArgument: Argument 2 of Facile\PhpCodec\Internal\Combinators\UnionDecoder::__construct cannot be mixed, expecting Facile\PhpCodec\Decoder<mixed, mixed> (see https://psalm.dev/030)
|
NoValue:
src/Internal/Combinators/ArrayPropsDecoder.php#L57
src/Internal/Combinators/ArrayPropsDecoder.php:57:9: NoValue: All possible types for this return were invalidated - This may be dead code (see https://psalm.dev/179)
|
DocblockTypeContradiction:
src/Internal/Combinators/LiteralDecoder.php#L43
src/Internal/Combinators/LiteralDecoder.php:43:13: DocblockTypeContradiction: I:Facile\PhpCodec\Internal\Combinators\LiteralDecoder as mixed does not contain T:Facile\PhpCodec\Internal\Combinators\LiteralDecoder as bool|int|string (see https://psalm.dev/155)
|
ArgumentTypeCoercion:
src/Internal/Useful/RegexDecoder.php#L30
src/Internal/Useful/RegexDecoder.php:30:25: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Internal/Useful/StringMatchingRegexDecoder.php#L33
src/Internal/Useful/StringMatchingRegexDecoder.php:33:25: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
MissingTemplateParam:
src/Validation/Context.php#L9
src/Validation/Context.php:9:32: MissingTemplateParam: Facile\PhpCodec\Validation\Context has missing template params when extending Iterator, expecting 2 (see https://psalm.dev/182)
|
DocblockTypeContradiction:
src/Validation/ListOfValidation.php#L22
src/Validation/ListOfValidation.php:22:17: DocblockTypeContradiction: Cannot resolve types for $v - docblock-defined type Facile\PhpCodec\Validation\Validation<T:fn-facile\phpcodec\validation\listofvalidation::sequence as mixed> does not contain Facile\PhpCodec\Validation\ValidationSuccess (see https://psalm.dev/155)
|
Type assertions
The job was canceled because "PSalm_make_psalm" failed.
|
InvalidArgument:
tests/type-assertions/Internal/Combinators/ArrayPropsDecoderTest.php#L16
tests/type-assertions/Internal/Combinators/ArrayPropsDecoderTest.php:16:35: InvalidArgument: Argument 1 of Facile\PhpCodec\Decoders::arrayProps expects non-empty-array<array-key, Facile\PhpCodec\Decoder<mixed, mixed>>, but array{a: Facile\PhpCodec\Decoder<mixed, string>, b: Facile\PhpCodec\Decoder<mixed, int>} provided (see https://psalm.dev/004)
|
Type assertions
Process completed with exit code 2.
|
Code style
The job was canceled because "PSalm_make_psalm" failed.
|
Code style
The operation was canceled.
|