|
1 | 1 | # PHPantom — Ignored Fixture Tasks |
2 | 2 |
|
3 | | -There are **228 fixture tests** in `tests/fixtures/`. Of these, **175 |
4 | | -pass** and **53 are ignored** because they exercise features or bug |
| 3 | +There are **228 fixture tests** in `tests/fixtures/`. Of these, **176 |
| 4 | +pass** and **52 are ignored** because they exercise features or bug |
5 | 5 | fixes that are not yet implemented. Each ignored fixture has a |
6 | 6 | `// ignore:` comment explaining what is missing. |
7 | 7 |
|
8 | | -This document groups the 53 ignored fixtures by the underlying work |
| 8 | +This document groups the 52 ignored fixtures by the underlying work |
9 | 9 | needed to un-ignore them. Tasks are ordered by the number of fixtures |
10 | 10 | they unblock (descending), then by estimated effort. Once a task is |
11 | 11 | complete, remove the `// ignore:` line from each fixture, verify the |
@@ -338,20 +338,6 @@ clauses. |
338 | 338 |
|
339 | 339 | --- |
340 | 340 |
|
341 | | -## 14. Double negated `instanceof` narrowing (1 fixture) |
342 | | - |
343 | | -**Ref:** [type-inference.md §23](type-inference.md#23-double-negated-instanceof-narrowing) |
344 | | -**Impact: Low · Effort: Low** |
345 | | - |
346 | | -`if (!!($x instanceof Foo))` does not narrow. The double negation |
347 | | -should cancel out. |
348 | | - |
349 | | -**Fixture:** |
350 | | - |
351 | | -- [ ] `narrowing/bangbang_instanceof.fixture` — `!!$x instanceof Foo` narrows inside the block |
352 | | - |
353 | | ---- |
354 | | - |
355 | 341 | ## 15. Negated `@phpstan-assert !Type` (1 fixture) |
356 | 342 |
|
357 | 343 | **Ref:** [type-inference.md §19](type-inference.md#19-negated-phpstan-assert-type) |
@@ -546,7 +532,6 @@ Quick wins (Low effort, 1 fixture each): |
546 | 532 |
|
547 | 533 | | Task | Fixture | |
548 | 534 | |---|---| |
549 | | -| §14 Double negated `instanceof` | `narrowing/bangbang_instanceof` | |
550 | 535 | | §17 Accessor on new line | `completion/accessor_on_new_line` | |
551 | 536 | | §18 Partial static property prefix | `completion/partial_static_property` | |
552 | 537 | | §23 `@phpstan-type` in foreach | `type/phpstan_type_alias` | |
|
0 commit comments