Skip to content

Psalm v6: strict_types=1 #11974

Psalm v6: strict_types=1

Psalm v6: strict_types=1 #11974

Triggered via pull request October 19, 2023 10:22
Status Failure
Total duration 1m 14s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

shepherd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
RedundantCondition: src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeNodeScanner.php#L247
src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeNodeScanner.php:247:17: RedundantCondition: Type PhpParser\Node\Stmt\Return_ for $stmt->stmts[0] is always PhpParser\Node\Stmt\Return_ (see https://psalm.dev/122)
InvalidPropertyAssignmentValue: tests/PsalmPluginTest.php#L35
tests/PsalmPluginTest.php:35:30: InvalidPropertyAssignmentValue: $this->plugin_list with declared type 'never' cannot be assigned type 'Mockery\MockInterface&Psalm\Internal\PluginManager\PluginList' (see https://psalm.dev/145)
MixedMethodCall: tests/PsalmPluginTest.php#L77
tests/PsalmPluginTest.php:77:29: MixedMethodCall: Cannot determine the type of $this->plugin_list when calling method expects (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L77
tests/PsalmPluginTest.php:77:40: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L77
tests/PsalmPluginTest.php:77:54: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L92
tests/PsalmPluginTest.php:92:29: MixedMethodCall: Cannot determine the type of $this->plugin_list when calling method expects (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L92
tests/PsalmPluginTest.php:92:40: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L92
tests/PsalmPluginTest.php:92:56: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L121
tests/PsalmPluginTest.php:121:15: MixedMethodCall: Cannot determine the type of $this->plugin_list when calling method shouldReceive (see https://psalm.dev/015)
MixedMethodCall: tests/PsalmPluginTest.php#L121
tests/PsalmPluginTest.php:121:46: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)