File tree 10 files changed +12
-11
lines changed
10 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ tools/* binary
7
7
/phpunit.xml export-ignore
8
8
/.phive /phars.xml export-ignore
9
9
/.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 7
7
strategy :
8
8
matrix :
9
9
operating-system : [ubuntu-latest]
10
- php-versions : ['8.0']
10
+ php-versions : ['8.0', '8.1' ]
11
11
fail-fast : false
12
12
name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13
13
steps :
Original file line number Diff line number Diff line change 7
7
strategy :
8
8
matrix :
9
9
operating-system : [ubuntu-latest]
10
- php-versions : ['8.0']
10
+ php-versions : ['8.0', '8.1' ]
11
11
fail-fast : false
12
12
name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13
13
steps :
22
22
- name : Install dependencies
23
23
run : composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
24
24
- 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 7
7
strategy :
8
8
matrix :
9
9
operating-system : [ubuntu-latest]
10
- php-versions : ['8.0']
10
+ php-versions : ['8.0', '8.1' ]
11
11
fail-fast : false
12
12
name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13
13
steps :
Original file line number Diff line number Diff line change 1
1
/vendor /
2
2
composer.lock
3
3
.phpunit.result.cache
4
- .php_cs .cache
4
+ .php-cs-fixer .cache
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<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" />
5
5
</phive >
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- return PhpCsFixer \Config:: create ( )
3
+ return ( new PhpCsFixer \Config () )
4
4
->setFinder (
5
5
\Symfony \Component \Finder \Finder::create ()
6
6
->in ([
24
24
'list_syntax ' => [
25
25
'syntax ' => 'short ' ,
26
26
],
27
- 'lowercase_constants ' => true ,
27
+ 'constant_case ' => [
28
+ 'case ' => 'lower ' ,
29
+ ],
28
30
'multiline_comment_opening_closing ' => true ,
29
31
'native_function_casing ' => true ,
30
32
'no_empty_phpdoc ' => true ,
Original file line number Diff line number Diff line change 5
5
forbidEcho =" true"
6
6
strictBinaryOperands =" true"
7
7
phpVersion =" 8.0"
8
- allowPhpStormGenerics =" true"
9
8
allowStringToStandInForClass =" true"
10
9
rememberPropertyAssignmentsAfterCall =" false"
11
10
skipChecksOnUnresolvableIncludes =" false"
You can’t perform that action at this time.
0 commit comments