Partially fix #9698 #10300
+56
−6
Draft
Partially fix #9698 #10300
Annotations
6 errors
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php#L922
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php:922:25: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $iterator_value_type of type Psalm\Type\Union|null (see https://psalm.dev/082)
|
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php#L923
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php:923:70: PossiblyNullReference: Cannot call method setProperties on possibly null value (see https://psalm.dev/083)
|
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php#L927
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php:927:25: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $iterator_key_type of type Psalm\Type\Union|null (see https://psalm.dev/082)
|
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php#L928
src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php:928:66: PossiblyNullReference: Cannot call method setProperties on possibly null value (see https://psalm.dev/083)
|
src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockScanner.php#L1054
src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockScanner.php:1054:17: InaccessibleProperty: Psalm\Type\Union::$ignore_nullable_issues_foreach is marked readonly (see https://psalm.dev/054)
|
|
The logs for this run have expired and are no longer available.
Loading