Promoted properties missing in extended __construct should report PropertyNotSetInConstructor #12997
Annotations
4 errors
PossiblyUndefinedStringArrayOffset:
src/Psalm/Internal/Analyzer/ClassAnalyzer.php#L876
src/Psalm/Internal/Analyzer/ClassAnalyzer.php:876:29: PossiblyUndefinedStringArrayOffset: Possibly undefined array offset ''__construct'' is risky given expected type 'lowercase-string'. Consider using isset beforehand. (see https://psalm.dev/216)
|
PossiblyUndefinedStringArrayOffset:
src/Psalm/Internal/Analyzer/ClassAnalyzer.php#L892
src/Psalm/Internal/Analyzer/ClassAnalyzer.php:892:36: PossiblyUndefinedStringArrayOffset: Possibly undefined array offset ''__construct'' is risky given expected type 'lowercase-string'. Consider using isset beforehand. (see https://psalm.dev/216)
|
PossiblyUndefinedStringArrayOffset:
src/Psalm/Internal/Analyzer/ClassAnalyzer.php#L1111
src/Psalm/Internal/Analyzer/ClassAnalyzer.php:1111:31: PossiblyUndefinedStringArrayOffset: Possibly undefined array offset ''__construct'' is risky given expected type 'lowercase-string'. Consider using isset beforehand. (see https://psalm.dev/216)
|
build
Process completed with exit code 2.
|