1
1
parameters:
2
- #phpVersion: 50400 # Needs to be 70100 or higher... sigh...
2
+ # phpVersion: 50400 # Needs to be 70100 or higher... sigh...
3
3
level: 6
4
4
paths:
5
5
- phpcsutils-autoload.php
@@ -14,6 +14,8 @@ parameters:
14
14
treatPhpDocTypesAsCertain: false
15
15
16
16
ignoreErrors:
17
+ # yamllint disable rule:line-length
18
+
17
19
# Level 0
18
20
# Ignoring this as availability depends on which PHPUnit Polyfills version is loaded/installed. This is 100% okay.
19
21
-
@@ -72,10 +74,10 @@ parameters:
72
74
-
73
75
message: '`^Parameter #[0-9]+ \$\S+ of static method PHPCSUtils\\(?!Tests)[A-Za-z]+\\[A-Za-z]+::[A-Za-z]+\(\) expects [^,]+, \S+ given\.$`'
74
76
paths:
75
- - Tests/BackCompat/BCFile/GetTokensAsStringTest.php
76
- - Tests/Exceptions/TestTargetNotFound/TestTargetNotFoundTest.php
77
- - Tests/Fixers/SpacesFixer/SpacesFixerExceptionsTest.php
78
- - Tests/Utils/GetTokensAsString/GetTokensAsStringTest.php
77
+ - Tests/BackCompat/BCFile/GetTokensAsStringTest.php
78
+ - Tests/Exceptions/TestTargetNotFound/TestTargetNotFoundTest.php
79
+ - Tests/Fixers/SpacesFixer/SpacesFixerExceptionsTest.php
80
+ - Tests/Utils/GetTokensAsString/GetTokensAsStringTest.php
79
81
80
82
# Ignoring as this is fine.
81
83
-
@@ -93,3 +95,5 @@ parameters:
93
95
-
94
96
message: '`^Method PHPCSUtils\\Tests\\[^: ]+Test(Case)?::\S+\(\) has parameter \$\S* with no value type specified in iterable type array\.$`'
95
97
path: Tests/*
98
+
99
+ # yamllint enable rule:line-length
0 commit comments