Commit f8d7b8a
Exclude property hooks test from lint and fix escaped mutant
- Add tests/PHPStan/Rules/Properties/data/bug-14457.php to make lint
exclusion list (PHP 8.4 property hooks syntax)
- Change !$prototype->isAbstract()->yes() to $prototype->isAbstract()->no()
in OverridingPropertyRule — equivalent for PhpPropertyReflection (always
returns Yes or No), but killable by TrinaryLogicMutator since the reversed
mutation (->yes()) is caught by the abstract-overriding-abstract test case
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent eca863c commit f8d7b8a
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments