We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3d59e commit 6567669Copy full SHA for 6567669
.github/workflows/core.yml
@@ -32,3 +32,23 @@ jobs:
32
33
- name: Run tests
34
run: composer run-script --timeout=360 test
35
+
36
+ - name: Lint
37
+ run: |
38
+ lintPaths=()
39
+ lintPaths+=("${GITHUB_WORKSPACE}/src")
40
+ for lintPath in "${lintPaths[@]}"
41
+ do
42
+ for file in `find "$lintPath"`
43
44
+ EXTENSION="${file##*.}"
45
+ if [ "$EXTENSION" == "php" ]
46
+ then
47
+ RESULTS=`php -l "$file"`
48
+ if [ "$RESULTS" != "No syntax errors detected in $file" ]
49
50
+ echo $RESULTS
51
+ fi
52
53
+ done
54
0 commit comments