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 9
9
- uses : actions/checkout@master
10
10
- uses : shivammathur/setup-php@v2
11
11
with :
12
- php-version : ' 7.4'
12
+ php-version : ' 8.0'
13
+ tools : php-cs-fixer, cs2pr
13
14
- 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
17
16
18
17
coding-style-js :
19
18
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
- .php_cs .cache
1
+ .php-cs-fixer .cache
2
2
node_modules
3
3
yarn.lock
4
4
yarn-error.log
Original file line number Diff line number Diff line change 4
4
exit (0 );
5
5
}
6
6
7
- return PhpCsFixer \Config:: create ( )
7
+ return ( new PhpCsFixer \Config () )
8
8
->setRules ([
9
9
'@Symfony ' => true ,
10
10
'@Symfony:risky ' => true ,
You can’t perform that action at this time.
0 commit comments