File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 99 - uses : actions/checkout@master
1010 - uses : shivammathur/setup-php@v2
1111 with :
12- php-version : ' 7.4'
12+ php-version : ' 8.0'
13+ tools : php-cs-fixer, cs2pr
1314 - name : php-cs-fixer
14- run : |
15- wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.18.2/php-cs-fixer.phar -q
16- php php-cs-fixer.phar fix --dry-run --diff
15+ run : php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
1716
1817 coding-style-js :
1918 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- .php_cs .cache
1+ .php-cs-fixer .cache
22node_modules
33yarn.lock
44yarn-error.log
Original file line number Diff line number Diff line change 44 exit (0 );
55}
66
7- return PhpCsFixer \Config:: create ( )
7+ return ( new PhpCsFixer \Config () )
88 ->setRules ([
99 '@Symfony ' => true ,
1010 '@Symfony:risky ' => true ,
You can’t perform that action at this time.
0 commit comments