File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
"ergebnis/composer-normalize" : " *" ,
7
7
"maglnet/composer-require-checker" : " ^3.8" ,
8
8
"mi-schi/phpmd-extension" : " ^4.3" ,
9
- "php-cs-fixer/shim" : " ^3.14.4 " ,
9
+ "php-cs-fixer/shim" : " ^3.49.0 " ,
10
10
"phpmd/phpmd" : " ^2.13"
11
11
},
12
12
"config" : {
Original file line number Diff line number Diff line change 12
12
13
13
namespace PhpCsFixer \PhpunitConstraintXmlMatchesXsd \Constraint ;
14
14
15
- if (version_compare (\PHPUnit \Runner \Version::id (), '7.0.0 ' ) < 0 ) {
15
+ use PHPUnit \Runner \Version ;
16
+
17
+ if (version_compare (Version::id (), '7.0.0 ' ) < 0 ) {
16
18
class_alias (XmlMatchesXsdForV5::class, XmlMatchesXsd::class);
17
- } elseif (version_compare (\ PHPUnit \ Runner \ Version::id (), '8.0.0 ' ) < 0 ) {
19
+ } elseif (version_compare (Version::id (), '8.0.0 ' ) < 0 ) {
18
20
class_alias (XmlMatchesXsdForV7::class, XmlMatchesXsd::class);
19
21
} else {
20
22
class_alias (XmlMatchesXsdForV8::class, XmlMatchesXsd::class);
You can’t perform that action at this time.
0 commit comments