File tree 5 files changed +16
-25
lines changed
5 files changed +16
-25
lines changed Original file line number Diff line number Diff line change 11
11
- uses : actions/checkout@v3
12
12
- uses : shivammathur/setup-php@v2
13
13
with :
14
- php-version : ' 7.4 '
14
+ php-version : ' 8.1 '
15
15
coverage : none
16
- tools : composer:v1
17
- - run : composer global require hirak/prestissimo
18
16
- run : composer update --no-progress
19
17
- run : composer update --no-progress --working-dir=dev-tools
20
18
- run : composer info --direct --working-dir=dev-tools | sort
Original file line number Diff line number Diff line change 1
- /.php_cs
2
- /.php_cs.cache
1
+ /.php-cs-fixer.cache
3
2
/.phpunit.result.cache
4
3
/composer.lock
5
4
/vendor /
Original file line number Diff line number Diff line change 14
14
->in (__DIR__ )
15
15
;
16
16
17
- if (PHP_VERSION_ID < 70000 ) {
18
- $ finder
19
- ->notPath ('tests/Test/Constraint/IsIdenticalStringForV7.php ' )
20
- ;
21
- }
22
-
23
- return PhpCsFixer \Config::create ()
17
+ return (new PhpCsFixer \Config )
24
18
->setRiskyAllowed (true )
25
19
->setRules ([
26
20
'@PhpCsFixer ' => true ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " php-cs-fixer/phpunit-constraint-isidenticalstring" ,
3
- "type" : " library" ,
4
3
"description" : " Constraint for testing strings considering not-same line endings." ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Dariusz Rumiński" ,
18
18
"johnkary/phpunit-speedtrap" : " ^1.1 || ^2.0 || ^3.0" ,
19
19
"symfony/phpunit-bridge" : " ^3.2.2 || ^4.0"
20
20
},
21
- "config" : {
22
- "optimize-autoloader" : true ,
23
- "sort-packages" : true
24
- },
25
21
"autoload" : {
26
22
"psr-4" : {
27
23
"PhpCsFixer\\ PhpunitConstraintIsIdenticalString\\ " : " src/"
34
30
"psr-4" : {
35
31
"PhpCsFixer\\ PhpunitConstraintIsIdenticalString\\ Tests\\ " : " tests/"
36
32
}
33
+ },
34
+ "config" : {
35
+ "optimize-autoloader" : true ,
36
+ "sort-packages" : true
37
37
}
38
38
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "php" : " ^7.3"
4
- },
5
- "conflict" : {
6
- "hhvm" : " *"
3
+ "php" : " ^8.1"
7
4
},
8
5
"require-dev" : {
9
- "friendsofphp/php-cs-fixer" : " ^2.14" ,
10
- "localheinz/composer-normalize" : " ^1.1" ,
11
- "maglnet/composer-require-checker" : " ^2.0" ,
6
+ "ergebnis/composer-normalize" : " *" ,
7
+ "maglnet/composer-require-checker" : " ^3.8" ,
12
8
"mi-schi/phpmd-extension" : " ^4.3" ,
13
- "phpmd/phpmd" : " ^2.6"
9
+ "php-cs-fixer/shim" : " ^3.14.4" ,
10
+ "phpmd/phpmd" : " ^2.13"
14
11
},
15
12
"config" : {
13
+ "allow-plugins" : {
14
+ "ergebnis/composer-normalize" : true
15
+ },
16
16
"optimize-autoloader" : true ,
17
17
"sort-packages" : true
18
18
}
You can’t perform that action at this time.
0 commit comments