Skip to content

Commit 14eac47

Browse files
committed
Clean up lint
1 parent b1328d8 commit 14eac47

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,10 @@ jobs:
2727
php-version: "${{ matrix.php-version }}"
2828
coverage: none
2929

30-
- uses: ramsey/composer-install@v3
31-
with:
32-
dependency-versions: highest
33-
3430
- name: "Lint PHP files"
3531
run: |
3632
hasErrors=0
37-
for f in $(find src/ tests/ -type f -name '*.php' ! -path '*/vendor/*')
33+
for f in $(find src/ tests/ -type f -name '*.php' ! -path '*/vendor/*' ! -path '*/Fixtures/*')
3834
do
3935
{ error="$(php -derror_reporting=-1 -ddisplay_errors=1 -l -f $f 2>&1 1>&3 3>&-)"; } 3>&1;
4036
if [ "$error" != "" ]; then
@@ -45,6 +41,3 @@ jobs:
4541
if [ $hasErrors -eq 1 ]; then
4642
exit 1
4743
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

Comments
 (0)