File tree Expand file tree Collapse file tree 4 files changed +19
-9
lines changed Expand file tree Collapse file tree 4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1818 - name : Setup PHP
1919 uses : shivammathur/setup-php@v2
2020 with :
21- php-version : ' 7.4 '
21+ php-version : ' 8.1 '
2222
2323 - name : Install dependencies
2424 run : composer update --no-progress --no-interaction --prefer-dist
Original file line number Diff line number Diff line change 1- * .lock
2- package.xml
3- /vendor
1+ # IDE
42.idea
5- .php_cs.cache
6- docs /_build
3+
4+ # Composer
5+ /vendor
6+ composer.lock
7+
8+ # phpunit/phpunit
79.phpunit.result.cache
10+
11+ # friendsofphp/php-cs-fixer
12+ /.php_cs.cache
13+ /.php-cs-fixer.cache
Original file line number Diff line number Diff line change 44 ->in (__DIR__ . '/src ' )
55;
66
7- return PhpCsFixer \Config::create ()
7+ $ config = new PhpCsFixer \Config ;
8+
9+ $ config
810 ->setRules ([
911 '@PSR2 ' => true ,
1012 ])
1113 ->setFinder ($ finder )
1214;
15+
16+ return $ config ;
Original file line number Diff line number Diff line change 3737 "phpunit/phpunit" : " ^5.7 | ^6.5 | ^7.5 | ^8.4 | ^9.3" ,
3838 "laravel/framework" : " 5.0 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0" ,
3939 "orchestra/testbench" : " 3.1 - 3.8 | ^4.7 | ^5.1 | ^6.0 | ^7.0" ,
40- "friendsofphp/php-cs-fixer" : " 2.18.* " ,
40+ "friendsofphp/php-cs-fixer" : " ^3.11 " ,
4141 "mockery/mockery" : " ^1.3"
4242 },
4343 "autoload-dev" : {
5656 " XDEBUG_MODE=coverage vendor/bin/phpunit --verbose --configuration phpunit.xml --coverage-html test/html-report"
5757 ],
5858 "phpcs" : [
59- " vendor/bin/php-cs-fixer fix --config=.php_cs -- verbose --diff --dry-run"
59+ " vendor/bin/php-cs-fixer fix --verbose --diff --dry-run"
6060 ]
6161 },
6262 "extra" : {
You can’t perform that action at this time.
0 commit comments