get rid of a few unnecessary consecutive calls to is_dir by making ge… #62
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PHP Syntax | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
php-versions: ['8.4', 'highest'] | |
steps: | |
# Install PHP interpreter | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
# Checkout source repository | |
- name: checkout repo | |
uses: actions/checkout@v3 | |
# Check syntax of every PHP source file using PHP interpreter | |
- run: composer run check-syntax |