Merge pull request #494 from bbannon/PrintHeader #14
This file contains 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 Checker | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- release | |
jobs: | |
php-lint: | |
name: Check PHP syntax | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check PHP syntax | |
run: | | |
find . -name '*.php' -not -path './vendor/*' -exec php -l {} \; |