Commit 0ea47e0
committed
refactor(phpstan): exclude Laravel directory instead of ignoring individual errors
Replace 5 ignoreErrors entries with excludePaths for src/Laravel.
Laravel integration files use framework APIs (app(), config(), TestResponse)
that cannot be properly type-checked without Larastan. Excluding the
directory is the standard approach for framework-agnostic libraries.1 parent 9936918 commit 0ea47e0
1 file changed
Lines changed: 2 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
0 commit comments