We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e02767 commit 137fca3Copy full SHA for 137fca3
1 file changed
.github/workflows/ci.yml
@@ -29,12 +29,12 @@ jobs:
29
# Lint PHP files (check for syntax errors)
30
- name: Lint PHP files
31
run: find . -type f -name '*.php' -exec php -l {} \;
32
- # Download PHP-CS-Fixer
33
- - name: Download PHP-CS-Fixer
+ # Download PHP_CodeSniffer
+ - name: Download PHP_CodeSniffer
34
run: |
35
- wget https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer.phar
36
- chmod +x php-cs-fixer.phar
+ wget https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
+ chmod +x phpcs.phar
37
38
- # Run PHP-CS-Fixer (check coding standards)
39
- - name: Run PHP-CS-Fixer
40
- run: ./php-cs-fixer.phar fix --dry-run --diff --verbose . || [ $? -eq 8 ]
+ # Run PHP_CodeSniffer (check coding standards)
+ - name: Run PHP_CodeSniffer
+ run: ./phpcs.phar --standard=PSR12 .
0 commit comments