We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8408847 commit ad11a8bCopy full SHA for ad11a8b
1 file changed
.github/workflows/php-lint.yml
@@ -0,0 +1,21 @@
1
+name: PHP Syntax Check
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ lint:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout code
10
+ uses: actions/checkout@v3
11
12
+ - name: Setup PHP
13
+ uses: shivammathur/setup-php@v2
14
+ with:
15
+ php-version: '8.2'
16
17
+ - name: Check PHP Syntax
18
+ run: |
19
+ for file in $(find . -name "*.php"); do
20
+ php -l "$file"
21
+ done
0 commit comments