Commit 74a26d0
committed
Support tools/php-cs-fixer path
Typically when using Phive you install tools in tools/ as opposed to
installing into vendor/bin, e.g., via Composer.
The pre-commit hook will now first check if php-cs-fixer exists at the
path tools/php-cs-fixer, then vendor/bin/php-cs-fixer, etc.1 parent 9e449ed commit 74a26d0
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
0 commit comments