Disable ignoreInternalFunction(False|Null)Return by default #11837
Triggered via pull request
September 17, 2023 11:49
Status
Failure
Total duration
3m 20s
Artifacts
–
Annotations
10 errors
PossiblyNullArgument:
examples/TemplateChecker.php#L165
examples/TemplateChecker.php:165:48: PossiblyNullArgument: Argument 1 of Psalm\Node\Stmt\VirtualClassMethod::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyInvalidArrayAccess:
examples/plugins/StringChecker.php#L38
examples/plugins/StringChecker.php:38:35: PossiblyInvalidArrayAccess: Cannot access array value on non-array variable of type false (see https://psalm.dev/109)
|
PossiblyNullArgument:
src/Psalm/CodeLocation.php#L225
src/Psalm/CodeLocation.php:225:30: PossiblyNullArgument: Argument 1 of trim cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/Psalm/Codebase.php#L996
src/Psalm/Codebase.php:996:17: PossiblyNullArgument: Argument 1 of Psalm\Internal\LanguageServer\PHPMarkdownContent::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/Psalm/Codebase.php#L1037
src/Psalm/Codebase.php:1037:67: PossiblyNullArgument: Argument 2 of explode cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/Psalm/Codebase.php#L1208
src/Psalm/Codebase.php:1208:42: PossiblyNullArgument: Argument 2 of explode cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyFalseArgument:
src/Psalm/Config.php#L843
src/Psalm/Config.php:843:15: PossiblyFalseArgument: Argument 1 of chdir cannot be false, possibly string value expected (see https://psalm.dev/104)
|
PossiblyNullArgument:
src/Psalm/Config.php#L1011
src/Psalm/Config.php:1011:48: PossiblyNullArgument: Argument 1 of Psalm\Config::processDeprecatedElement cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyFalseArgument:
src/Psalm/Config.php#L1106
src/Psalm/Config.php:1106:42: PossiblyFalseArgument: Argument 1 of json_decode cannot be false, possibly string value expected (see https://psalm.dev/104)
|
PossiblyFalsePropertyAssignmentValue:
src/Psalm/Config.php#L1162
src/Psalm/Config.php:1162:35: PossiblyFalsePropertyAssignmentValue: $config->autoloader with non-falsable declared type 'null|string' cannot be assigned possibly false type 'false|string' (see https://psalm.dev/146)
|