Skip to content

Commit

Permalink
Added PHP syntax github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
craigk5n committed Nov 27, 2023
1 parent 34f5f6c commit 1fb7e6d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/php-syntax-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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@v2

- name: Check PHP syntax
run: |
find . -name '*.php' -not -path './vendor/*' -exec php -l {} \;

0 comments on commit 1fb7e6d

Please sign in to comment.