File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 php-version :
16- - ' 7.4 '
16+ - ' 8.1 '
1717
1818 steps :
1919 - name : ' Check out'
Original file line number Diff line number Diff line change 1- /.php_cs
2- /.php_cs .cache
1+ /.php-cs-fixer.php
2+ /.php-cs-fixer .cache
33/.phpunit.result.cache
44/composer.lock
55/phpunit.xml
Original file line number Diff line number Diff line change 2121 $ finder ->notPath ('Dto/Product.php ' );
2222}
2323
24- return PhpCsFixer \Config:: create ( )
24+ $ config = ( new PhpCsFixer \Config () )
2525 ->setRules ([
2626 '@Symfony ' => true ,
2727 '@Symfony:risky ' => true ,
4949 'void_return ' => true ,
5050 ])
5151 ->setRiskyAllowed (true )
52- ->setFinder ($ finder )
53- ;
52+ ->setFinder ($ finder );
53+
54+ return $ config ;
Original file line number Diff line number Diff line change 2727 "symfony/property-access" : " ^4.4||^5.0||^6.0"
2828 },
2929 "require-dev" : {
30- "friendsofphp/php-cs-fixer" : " ^2.16 " ,
30+ "friendsofphp/php-cs-fixer" : " ^3.4 " ,
3131 "phpstan/phpstan" : " ^0.12.4" ,
3232 "symfony/phpunit-bridge" : " ^4.4.12||^5.2" ,
3333 "symfony/translation" : " ^4.4||^5.0||^6.0"
You can’t perform that action at this time.
0 commit comments