Skip to content

Elvis and other PHP short form operators #237

Elvis and other PHP short form operators

Elvis and other PHP short form operators #237

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 {} \;