Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,10 @@ jobs:
- name: Install PHP dependencies
run: composer install --no-interaction --prefer-dist

# PHPCompatibility 9.x predates PHP 8, so it cannot tell when the code
# uses syntax newer than the declared floor. The 8.2 parser can.
- name: Check PHP syntax
run: find button-block-icon.php inc -name '*.php' -print0 | xargs -0 -n1 php -l

- name: Lint PHP
run: composer lint
Loading