Commit b8566d3
Uncomment expected premature access errors in readonly property test
Now that uninitialized properties are correctly tracked in methods
called from constructors, premature access to readonly properties
in those methods is properly detected.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9660125 commit b8566d3
File tree
1 file changed
+2
-2
lines changed- tests/PHPStan/Rules/Properties
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments