We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12f7f8 commit b26d1faCopy full SHA for b26d1fa
1 file changed
.github/workflows/ci.yml
@@ -28,4 +28,14 @@ jobs:
28
29
# Lint PHP files (check for syntax errors)
30
- name: Lint PHP files
31
- run: find . -type f -name '*.php' -exec php -l {} \;
+ run: find . -type f -name '*.php' -exec php -l {} \;
32
+
33
+ # Download PHP_CodeSniffer
34
+ - name: Download PHP_CodeSniffer
35
+ run: |
36
+ wget https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
37
+ chmod +x phpcs.phar
38
39
+ # Run PHP_CodeSniffer (check coding standards)
40
+ - name: Run PHP_CodeSniffer
41
+ run: ./phpcs.phar --standard=PSR12 .
0 commit comments