File tree Expand file tree Collapse file tree 5 files changed +17
-25
lines changed Expand file tree Collapse file tree 5 files changed +17
-25
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,14 @@ jobs:
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
21
19
- run : composer validate --strict
22
20
- run : composer normalize --working-dir=dev-tools ../composer.json --dry-run
21
+ - run : dev-tools/vendor/bin/composer-require-checker check composer.json --config-file=.composer-require-checker.json
23
22
- run : dev-tools/vendor/bin/phpmd src,tests text dev-tools/phpmd.xml
24
23
- run : dev-tools/vendor/bin/php-cs-fixer fix --diff --dry-run -v
25
24
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 15
15
->in (__DIR__ )
16
16
;
17
17
18
- if (PHP_VERSION_ID < 70000 ) {
19
- $ finder
20
- ->notPath ('tests/Test/Constraint/XmlMatchesXsdForV7.php ' )
21
- ;
22
- }
23
-
24
- return PhpCsFixer \Config::create ()
18
+ return (new PhpCsFixer \Config ())
25
19
->setRiskyAllowed (true )
26
20
->setRules ([
27
21
'@PhpCsFixer ' => true ,
28
22
'@PhpCsFixer:risky ' => true ,
29
- '@PHP56Migration:risky ' => true ,
30
23
'@PHPUnit60Migration:risky ' => true ,
31
24
'header_comment ' => ['header ' => $ header ],
32
25
])
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " php-cs-fixer/phpunit-constraint-xmlmatchesxsd" ,
3
- "type" : " library" ,
4
3
"description" : " Constraint for testing XML against XSD." ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " SpacePossum"
23
23
"johnkary/phpunit-speedtrap" : " ^1.1 || ^2.0 || ^3.0" ,
24
24
"symfony/phpunit-bridge" : " ^3.2.2 || ^4.0"
25
25
},
26
- "config" : {
27
- "optimize-autoloader" : true ,
28
- "sort-packages" : true
29
- },
30
26
"autoload" : {
31
27
"psr-4" : {
32
28
"PhpCsFixer\\ PhpunitConstraintXmlMatchesXsd\\ " : " src/"
39
35
"psr-4" : {
40
36
"PhpCsFixer\\ PhpunitConstraintXmlMatchesXsd\\ Tests\\ " : " tests/"
41
37
}
38
+ },
39
+ "config" : {
40
+ "optimize-autoloader" : true ,
41
+ "sort-packages" : true
42
42
}
43
43
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "php" : " ^7.3 || ^8.0"
4
- },
5
- "conflict" : {
6
- "hhvm" : " *"
3
+ "php" : " ^8.1"
7
4
},
8
5
"require-dev" : {
9
- "friendsofphp/php-cs-fixer " : " ^2.15 " ,
10
- "ergebnis /composer-normalize " : " ^2.5.1 " ,
6
+ "ergebnis/composer-normalize " : " * " ,
7
+ "maglnet /composer-require-checker " : " ^3.8 " ,
11
8
"mi-schi/phpmd-extension" : " ^4.3" ,
12
- "phpmd/phpmd" : " ^2.6"
9
+ "php-cs-fixer/shim" : " ^3.14.4" ,
10
+ "phpmd/phpmd" : " ^2.13"
13
11
},
14
12
"config" : {
13
+ "allow-plugins" : {
14
+ "ergebnis/composer-normalize" : true
15
+ },
15
16
"optimize-autoloader" : true ,
16
17
"sort-packages" : true
17
18
}
You can’t perform that action at this time.
0 commit comments