File tree Expand file tree Collapse file tree 10 files changed +14
-12
lines changed Expand file tree Collapse file tree 10 files changed +14
-12
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.cache 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
5
5
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.12.0 " 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 23
23
"php" : " ^8.0" ,
24
24
"ext-soap" : " *" ,
25
25
"ext-dom" : " *" ,
26
- "azjezz/psl" : " ^1.7 " ,
26
+ "azjezz/psl" : " ^1.9 " ,
27
27
"php-soap/engine" : " ^1.1" ,
28
28
"php-soap/wsdl" : " ^1.0" ,
29
- "symfony/options-resolver" : " ^5.3"
29
+ "symfony/options-resolver" : " ^5.3 || ^6.0 "
30
30
},
31
31
"require-dev" : {
32
32
"php-soap/engine-integration-tests" : " ^1.1" ,
You can’t perform that action at this time.
0 commit comments