Skip to content

Commit 2a2b4fb

Browse files
committed
Add PHPStan actions plan
1 parent 0029336 commit 2a2b4fb

2 files changed

Lines changed: 450 additions & 0 deletions

File tree

docs/todo.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,17 @@ unlikely to move the needle for most users.
101101
| | **[Code Actions](todo/actions.md)** | | |
102102
| A3 | Switch → match conversion | Low | Medium |
103103
| A10 | Generate interface from class | Low-Medium | Medium |
104+
| | **[PHPStan Code Actions](todo/phpstan-actions.md)** | | |
105+
| P1 | `new.static` — add `final` or `@phpstan-consistent-constructor` | Medium | Low |
106+
| P2 | `method.missingOverride` — add `#[Override]` | Medium | Low |
107+
| P3 | `method.override` / `property.override` — remove `#[Override]` | Medium | Low |
108+
| P6 | `return.type` — update return type to match actual returns | Medium | Medium |
109+
| P7 | `return.phpDocType` — fix `@return` to match native type | Medium | Low |
110+
| P8 | `parameter.phpDocType` — fix `@param` to match native type | Medium | Low |
111+
| P10 | `return.unusedType` — remove unused type from return union | Medium | Medium |
112+
| P11 | `method.visibility` / `property.visibility` — fix overriding visibility | Medium | Low |
113+
| P13 | `property.notFound` — declare missing property (same-class) | Medium | Medium |
114+
| P17 | `missingType.iterableValue` — add `@return` with inferred element type | Medium | High |
104115
| | **[LSP Features](todo/lsp-features.md)** | | |
105116
| F3 | Incremental text sync | Low-Medium | Medium |
106117
| | **[Signature Help](todo/signature-help.md)** | | |

0 commit comments

Comments
 (0)