Commit 55055d5
fix: override projectRoot in CS Fixer finder with getcwd()
The PHAR-based fallback in php_cs.php computes projectRoot by going
5 levels up from configDefaults/generic/. This works when php-qa-ci
is installed as a dependency but goes too far when the library IS
the root project. Use getcwd() in the library's own finder override.
Also broadened exclusion from tests/assets/psr4 to tests/assets
and added ignoreVCSIgnored for consistency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bbedb9d commit 55055d5
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
0 commit comments