File tree Expand file tree Collapse file tree 10 files changed +12
-11
lines changed
Expand file tree Collapse file tree 10 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ tools/* binary
77/phpunit.xml export-ignore
88/.phive /phars.xml export-ignore
99/.phive /phars.xml export-ignore
10- /.php_cs .dist export-ignore
10+ /.php-cs-fixer .dist.php export-ignore
Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 operating-system : [ubuntu-latest]
10- php-versions : ['8.0']
10+ php-versions : ['8.0', '8.1' ]
1111 fail-fast : false
1212 name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1313 steps :
Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 operating-system : [ubuntu-latest]
10- php-versions : ['8.0']
10+ php-versions : ['8.0', '8.1' ]
1111 fail-fast : false
1212 name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1313 steps :
2222 - name : Install dependencies
2323 run : composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
2424 - name : Run the tests
25- run : ./tools/php-cs-fixer.phar fix --dry-run
25+ run : PHP_CS_FIXER_IGNORE_ENV=1 ./tools/php-cs-fixer.phar fix --dry-run
Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 operating-system : [ubuntu-latest]
10- php-versions : ['8.0']
10+ php-versions : ['8.0', '8.1' ]
1111 fail-fast : false
1212 name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1313 steps :
Original file line number Diff line number Diff line change 11/vendor /
22composer.lock
33.phpunit.result.cache
4- .php_cs .cache
4+ .php-cs-fixer .cache
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phive xmlns =" https://phar.io/phive" >
3- <phar name =" psalm" version =" ^4.3 .1" installed =" 4.8 .1" location =" ./tools/psalm.phar" copy =" true" />
4- <phar name =" php-cs-fixer" version =" ^2.18 .2" installed =" 2.19.0 " location =" ./tools/php-cs-fixer.phar" copy =" true" />
3+ <phar name =" psalm" version =" ^4.13 .1" installed =" 4.13 .1" location =" ./tools/psalm.phar" copy =" true" />
4+ <phar name =" php-cs-fixer" version =" ^3.3 .2" installed =" 3.3.2 " location =" ./tools/php-cs-fixer.phar" copy =" true" />
55</phive >
Original file line number Diff line number Diff line change 11<?php
22
3- return PhpCsFixer \Config:: create ( )
3+ return ( new PhpCsFixer \Config () )
44 ->setFinder (
55 \Symfony \Component \Finder \Finder::create ()
66 ->in ([
2424 'list_syntax ' => [
2525 'syntax ' => 'short ' ,
2626 ],
27- 'lowercase_constants ' => true ,
27+ 'constant_case ' => [
28+ 'case ' => 'lower ' ,
29+ ],
2830 'multiline_comment_opening_closing ' => true ,
2931 'native_function_casing ' => true ,
3032 'no_empty_phpdoc ' => true ,
Original file line number Diff line number Diff line change 55 forbidEcho =" true"
66 strictBinaryOperands =" true"
77 phpVersion =" 8.0"
8- allowPhpStormGenerics =" true"
98 allowStringToStandInForClass =" true"
109 rememberPropertyAssignmentsAfterCall =" false"
1110 skipChecksOnUnresolvableIncludes =" false"
You can’t perform that action at this time.
0 commit comments