Update vimeo/psalm requirement from 4.30.0 to 5.22.2 #285
Annotations
10 errors and 1 warning
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
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)
|
Run make psalm:
src/Reporters/PathReporter.php#L40
src/Reporters/PathReporter.php:40:16: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run make psalm:
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)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading