Skip to content

Promoted properties missing in extended __construct should report PropertyNotSetInConstructor #12997

Promoted properties missing in extended __construct should report PropertyNotSetInConstructor

Promoted properties missing in extended __construct should report PropertyNotSetInConstructor #12997

Triggered via pull request March 13, 2024 11:22
Status Failure
Total duration 1m 1s
Artifacts

shepherd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.