We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1328d8 commit 14eac47Copy full SHA for 14eac47
.github/workflows/lint.yml
@@ -27,14 +27,10 @@ jobs:
27
php-version: "${{ matrix.php-version }}"
28
coverage: none
29
30
- - uses: ramsey/composer-install@v3
31
- with:
32
- dependency-versions: highest
33
-
34
- name: "Lint PHP files"
35
run: |
36
hasErrors=0
37
- for f in $(find src/ tests/ -type f -name '*.php' ! -path '*/vendor/*')
+ for f in $(find src/ tests/ -type f -name '*.php' ! -path '*/vendor/*' ! -path '*/Fixtures/*')
38
do
39
{ error="$(php -derror_reporting=-1 -ddisplay_errors=1 -l -f $f 2>&1 1>&3 3>&-)"; } 3>&1;
40
if [ "$error" != "" ]; then
@@ -45,6 +41,3 @@ jobs:
45
41
if [ $hasErrors -eq 1 ]; then
46
42
exit 1
47
43
fi
48
49
- - name: "Lint PHP files"
50
- run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f"
0 commit comments