This repository was archived by the owner on May 2, 2026. It is now read-only.
Bump symfony/process from 6.4.15 to 6.4.33 #84
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: PHP Syntax Errors | |
| on: | |
| push: | |
| branches: [ trunk ] | |
| pull_request: | |
| branches: [ trunk ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| php: [ 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup proper PHP version | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| - name: Check all files for syntax errors | |
| if: ${{ matrix.php >= 8.4 }} | |
| run: find -L $GITHUB_WORKSPACE -path $GITHUB_WORKSPACE/vendor -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l | |
| - name: Check all bootstrap files for syntax errors | |
| if: ${{ matrix.php < 8.4 }} | |
| run: find -L $GITHUB_WORKSPACE -maxdepth 1 -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l |