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