File tree Expand file tree Collapse file tree 8 files changed +414
-511
lines changed
Expand file tree Collapse file tree 8 files changed +414
-511
lines changed Original file line number Diff line number Diff line change 1616 strategy :
1717 matrix :
1818 php-version :
19- - " 8.1 "
19+ - " 8.2 "
2020
2121 steps :
2222 - uses : " shivammathur/setup-php@2.9.0"
3535 strategy :
3636 matrix :
3737 php-version :
38- - " 8.1 "
38+ - " 8.2 "
3939
4040 steps :
4141 - uses : " shivammathur/setup-php@2.9.0"
5252 strategy :
5353 matrix :
5454 php-version :
55- - " 8.1 "
55+ - " 8.2 "
5656
5757 steps :
5858 - uses : " shivammathur/setup-php@2.9.0"
6969 strategy :
7070 matrix :
7171 php-version :
72- - " 8.1 "
72+ - " 8.2 "
7373
7474 steps :
7575 - uses : " shivammathur/setup-php@2.9.0"
7878 - uses : " actions/checkout@v2"
7979 - uses : " php-actions/composer@v1"
8080 - run : " vendor/bin/php-cs-fixer fix --dry-run -v"
81+ env :
82+ PHP_CS_FIXER_IGNORE_ENV : 1
8183
8284 unit :
8385 name : " PHPUnit unit tests"
8789 strategy :
8890 matrix :
8991 php-version :
90- - " 7.4"
9192 - " 8.0"
9293 - " 8.1"
94+ - " 8.2"
9395
9496 steps :
9597 - uses : " shivammathur/setup-php@2.9.0"
Original file line number Diff line number Diff line change 11DOCKER =docker-compose -f ./docker/docker-compose.yml
22# #todo change to cli if needed
3- PHP =php81-fpm
3+ PHP =php82-fpm
4+
5+ build : install
46
57coverage :
68 $(DOCKER ) run --rm $(PHP ) php -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text
@@ -26,14 +28,14 @@ psalm:
2628 $(DOCKER ) run --rm $(PHP ) ./vendor/bin/psalm --show-info=true
2729
2830standards :
29- $(DOCKER ) run --rm $(PHP ) ./vendor/bin/php-cs-fixer fix --dry-run -v
31+ $(DOCKER ) run -e PHP_CS_FIXER_IGNORE_ENV=1 - -rm $(PHP ) ./vendor/bin/php-cs-fixer fix --dry-run -v
3032
3133test : standards unit phpstan psalm mutation
3234
3335# #todo remove unused commands in project
3436unit :
35- $(DOCKER ) run --rm php74-cli ./vendor/bin/phpunit
3637 $(DOCKER ) run --rm php80-cli ./vendor/bin/phpunit
38+ $(DOCKER ) run --rm php81-cli ./vendor/bin/phpunit
3739 $(DOCKER ) run --rm $(PHP ) ./vendor/bin/phpunit
3840
3941# #todo remove this rule if not needed
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "require" : {
21- "php" : " ^7.4 || ^ 8"
21+ "php" : " ^8"
2222 },
2323 "require-dev" : {
24- "friendsofphp/php-cs-fixer" : " ^3.11 .0" ,
25- "infection/infection" : " ^0.26.13 " ,
26- "phpstan/phpstan" : " ^1.8.8 " ,
24+ "friendsofphp/php-cs-fixer" : " ^3.13 .0" ,
25+ "infection/infection" : " ^0.26.16 " ,
26+ "phpstan/phpstan" : " ^1.9.2 " ,
2727 "phpstan/phpstan-strict-rules" : " ^1.4.4" ,
28- "phpunit/phpunit" : " ^9.5.25 " ,
29- "vimeo/psalm" : " ^4.28 .0"
28+ "phpunit/phpunit" : " ^9.5.27 " ,
29+ "vimeo/psalm" : " ^5.1 .0"
3030 },
3131 "autoload" : {
3232 "psr-4" : {
You can’t perform that action at this time.
0 commit comments