Skip to content

Incorrectly asserting non-empty-list after combining with empty list #12022

Incorrectly asserting non-empty-list after combining with empty list

Incorrectly asserting non-empty-list after combining with empty list #12022

Triggered via pull request October 26, 2023 16:14
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
InvalidPropertyAssignmentValue: tests/Config/PluginListTest.php#L33
tests/Config/PluginListTest.php:33:25: InvalidPropertyAssignmentValue: $this->config with declared type 'never' cannot be assigned type 'Mockery\MockInterface&Psalm\Config' (see https://psalm.dev/145)
InvalidPropertyAssignmentValue: tests/Config/PluginListTest.php#L39
tests/Config/PluginListTest.php:39:32: InvalidPropertyAssignmentValue: $this->composer_lock with declared type 'never' cannot be assigned type 'Mockery\MockInterface&Psalm\Internal\PluginManager\ComposerLock' (see https://psalm.dev/145)
MixedMethodCall: tests/Config/PluginListTest.php#L48
tests/Config/PluginListTest.php:48:24: MixedMethodCall: Cannot determine the type of $this->config when calling method expects (see https://psalm.dev/015)
MixedMethodCall: tests/Config/PluginListTest.php#L48
tests/Config/PluginListTest.php:48:35: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/Config/PluginListTest.php#L48
tests/Config/PluginListTest.php:48:55: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
NoValue: tests/Config/PluginListTest.php#L53
tests/Config/PluginListTest.php:53:59: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
MixedMethodCall: tests/Config/PluginListTest.php#L66
tests/Config/PluginListTest.php:66:24: MixedMethodCall: Cannot determine the type of $this->config when calling method expects (see https://psalm.dev/015)
MixedMethodCall: tests/Config/PluginListTest.php#L66
tests/Config/PluginListTest.php:66:35: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/Config/PluginListTest.php#L66
tests/Config/PluginListTest.php:66:55: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: tests/Config/PluginListTest.php#L70
tests/Config/PluginListTest.php:70:31: MixedMethodCall: Cannot determine the type of $this->composer_lock when calling method expects (see https://psalm.dev/015)