Fixes #221
Annotations
10 errors
InvalidScalarArgument:
src/Psalm/Internal/Cli/Psalm.php#L284
src/Psalm/Internal/Cli/Psalm.php:284:53: InvalidScalarArgument: Argument 1 of Psalm\Internal\CliUtils::getPathsToCheck expects array<array-key, mixed>|false|null|string, but bool|list<mixed>|null|string provided (see https://psalm.dev/012)
|
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#L36
tests/Config/PluginListTest.php:36:30: InvalidPropertyAssignmentValue: $this->config_file with declared type 'never' cannot be assigned type 'Mockery\MockInterface&Psalm\Internal\PluginManager\ConfigFile' (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:39: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
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)
|