Skip to content

Commit

Permalink
update syntax check for PHP 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy committed Jan 11, 2024
1 parent ccb2ca6 commit 727bf74
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/syntax_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@ jobs:
uses: actions/checkout@v4

- name: Run Syntax Checks
run: docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php${{ matrix.php }} phplint src tests ./counit
run: |
set -ex
if [[ ${{ matrix.php }} == '7.3' ]] ; then
docker run -q --rm -v "$(pwd)/src:/data" -i cytopia/phplint:${{ matrix.php }}
else
docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php${{ matrix.php }} phplint src tests ./counit
fi

0 comments on commit 727bf74

Please sign in to comment.