File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3636 if : matrix.deps == 'high'
3737 run : make install test
3838
39- # Separate package step until PHP 8.0 is supported
4039 - name : Coding standards
41- if : matrix.php != '8.0' && matrix.php != '8.1'
4240 run : make package
4341
4442 - name : Test & package (min)
Original file line number Diff line number Diff line change 1- IS_PHP8 : =$(shell php -r 'echo (int) version_compare(PHP_VERSION, "8.0 ", ">=");')
1+ IS_PHP81 : =$(shell php -r 'echo (int) version_compare(PHP_VERSION, "8.1 ", ">=");')
22
33default : build
44
@@ -31,15 +31,15 @@ test-package: test-package-tools
3131 cd tests/phar && ./tools/phpunit
3232.PHONY : test-package
3333
34- ifeq ($(IS_PHP8 ) ,1)
34+ ifeq ($(IS_PHP81 ) ,1)
3535cs :
3636else
3737cs : tools/php-cs-fixer
3838 tools/php-cs-fixer --dry-run --allow-risky=yes --no-interaction --ansi fix
3939endif
4040.PHONY : cs
4141
42- ifeq ($(IS_PHP8 ) ,1)
42+ ifeq ($(IS_PHP81 ) ,1)
4343cs-fix :
4444else
4545cs-fix : tools/php-cs-fixer
You can’t perform that action at this time.
0 commit comments