File tree 4 files changed +15
-6
lines changed 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 5
5
name : PHP-CS-Fixer
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@master
9
- - name : PHP-CS-Fixer
10
- uses : docker://oskarstark/php-cs-fixer-ga
8
+ - uses : actions/checkout@v4
9
+ - name : " Install PHP"
10
+ uses : " shivammathur/setup-php@v2 "
11
11
with :
12
- args : --dry-run
12
+ coverage : " none"
13
+ php-version : " 8.3"
14
+
15
+ - name : " Install dependencies with Composer"
16
+ uses : " ramsey/composer-install@v2"
17
+
18
+ - name : PHP-CS-Fixer
19
+ run : vendor/bin/php-cs-fixer fix --dry-run
13
20
14
21
phpstan :
15
22
runs-on : ubuntu-latest
16
23
steps :
17
24
- name : " Checkout code"
18
- uses : " actions/checkout@master "
25
+ uses : " actions/checkout@v4 "
19
26
20
27
- name : " Install PHP"
21
28
uses : " shivammathur/setup-php@v2"
Original file line number Diff line number Diff line change 1
1
vendor /
2
2
bin /phpunit
3
+ .php-cs-fixer.cache
3
4
.phpunit.result.cache
4
5
composer.lock
5
6
bin /doctrine-dbal
Original file line number Diff line number Diff line change 14
14
'@Symfony ' => true ,
15
15
'array_syntax ' => ['syntax ' => 'short ' ],
16
16
'no_superfluous_phpdoc_tags ' => [
17
- 'allow_mixed ' => true , # PHPStan will complain about missing types otherwise
17
+ 'allow_mixed ' => true , // PHPStan will complain about missing types otherwise
18
18
],
19
19
])
20
20
->setFinder ($ finder )
Original file line number Diff line number Diff line change 26
26
"require-dev" : {
27
27
"doctrine/common" : " ^2.9|^3.0" ,
28
28
"doctrine/dbal" : " ^2.2|^3.0" ,
29
+ "friendsofphp/php-cs-fixer" : " ^3.59" ,
29
30
"php-amqplib/php-amqplib" : " ^2.9|^3.0" ,
30
31
"phpspec/prophecy-phpunit" : " ^2.0" ,
31
32
"phpstan/phpstan" : " ^1.2" ,
You can’t perform that action at this time.
0 commit comments