|
1 | 1 | parameters: |
2 | 2 | ignoreErrors: |
3 | 3 | - |
4 | | - message: '#^Call to function is_array\(\) with \*NEVER\* will always evaluate to true\.$#' |
5 | | - identifier: function.alreadyNarrowedType |
| 4 | + message: "#^Method Joomla\\\\Utilities\\\\ArrayHelper\\:\\:arrayFromObject\\(\\) should return array but returns mixed\\.$#" |
6 | 5 | count: 1 |
7 | 6 | path: src/ArrayHelper.php |
8 | 7 |
|
9 | 8 | - |
10 | | - message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#' |
11 | | - identifier: function.alreadyNarrowedType |
12 | | - count: 3 |
13 | | - path: src/ArrayHelper.php |
14 | | - |
15 | | - - |
16 | | - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' |
17 | | - identifier: function.alreadyNarrowedType |
18 | | - count: 1 |
19 | | - path: src/ArrayHelper.php |
20 | | - |
21 | | - - |
22 | | - message: '#^Instanceof between ArrayAccess and ArrayAccess will always evaluate to true\.$#' |
23 | | - identifier: instanceof.alwaysTrue |
24 | | - count: 1 |
25 | | - path: src/ArrayHelper.php |
26 | | - |
27 | | - - |
28 | | - message: '#^Method Joomla\\Utilities\\ArrayHelper\:\:arrayFromObject\(\) should return array but returns mixed\.$#' |
29 | | - identifier: return.type |
30 | | - count: 1 |
31 | | - path: src/ArrayHelper.php |
32 | | - |
33 | | - - |
34 | | - message: '#^Result of && is always false\.$#' |
35 | | - identifier: booleanAnd.alwaysFalse |
| 9 | + message: "#^Result of && is always false\\.$#" |
36 | 10 | count: 1 |
37 | 11 | path: src/ArrayHelper.php |
38 | 12 |
|
39 | 13 | - |
40 | | - message: '#^Result of \|\| is always true\.$#' |
41 | | - identifier: booleanOr.alwaysTrue |
| 14 | + message: "#^Result of \\|\\| is always true\\.$#" |
42 | 15 | count: 1 |
43 | 16 | path: src/ArrayHelper.php |
44 | 17 |
|
45 | 18 | - |
46 | | - message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#' |
47 | | - identifier: identical.alwaysFalse |
| 19 | + message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#" |
48 | 20 | count: 1 |
49 | 21 | path: src/ArrayHelper.php |
50 | 22 |
|
51 | 23 | - |
52 | | - message: '#^Unreachable statement \- code above always terminates\.$#' |
53 | | - identifier: deadCode.unreachable |
| 24 | + message: "#^Unreachable statement \\- code above always terminates\\.$#" |
54 | 25 | count: 2 |
55 | 26 | path: src/ArrayHelper.php |
56 | 27 |
|
57 | 28 | - |
58 | | - message: '#^Variable \$caseSensitive might not be defined\.$#' |
59 | | - identifier: variable.undefined |
| 29 | + message: "#^Variable \\$caseSensitive might not be defined\\.$#" |
60 | 30 | count: 1 |
61 | 31 | path: src/ArrayHelper.php |
62 | 32 |
|
63 | 33 | - |
64 | | - message: '#^Variable \$colName in isset\(\) always exists and is not nullable\.$#' |
65 | | - identifier: isset.variable |
| 34 | + message: "#^Variable \\$colName in isset\\(\\) always exists and is not nullable\\.$#" |
66 | 35 | count: 2 |
67 | 36 | path: src/ArrayHelper.php |
68 | 37 |
|
69 | 38 | - |
70 | | - message: '#^Variable \$direction might not be defined\.$#' |
71 | | - identifier: variable.undefined |
| 39 | + message: "#^Variable \\$direction might not be defined\\.$#" |
72 | 40 | count: 2 |
73 | 41 | path: src/ArrayHelper.php |
74 | 42 |
|
75 | 43 | - |
76 | | - message: '#^Variable \$locale might not be defined\.$#' |
77 | | - identifier: variable.undefined |
| 44 | + message: "#^Variable \\$locale might not be defined\\.$#" |
78 | 45 | count: 2 |
79 | 46 | path: src/ArrayHelper.php |
80 | 47 |
|
81 | 48 | - |
82 | | - message: '#^Parameter \#3 \$length of function substr expects int\|null, float given\.$#' |
83 | | - identifier: argument.type |
| 49 | + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, float given\\.$#" |
84 | 50 | count: 2 |
85 | 51 | path: src/IpHelper.php |
86 | 52 |
|
87 | 53 | - |
88 | | - message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|string given\.$#' |
89 | | - identifier: argument.type |
| 54 | + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, float\\|string given\\.$#" |
90 | 55 | count: 2 |
91 | 56 | path: src/IpHelper.php |
92 | 57 |
|
93 | 58 | - |
94 | | - message: '#^Parameter \#3 \$length of function substr expects int\|null, string given\.$#' |
95 | | - identifier: argument.type |
| 59 | + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, string given\\.$#" |
96 | 60 | count: 2 |
97 | 61 | path: src/IpHelper.php |
98 | 62 |
|
99 | 63 | - |
100 | | - message: '#^Ternary operator condition is always false\.$#' |
101 | | - identifier: ternary.alwaysFalse |
| 64 | + message: "#^Ternary operator condition is always false\\.$#" |
102 | 65 | count: 1 |
103 | 66 | path: src/IpHelper.php |
104 | 67 |
|
105 | 68 | - |
106 | | - message: '#^Variable \$_SERVER in isset\(\) always exists and is not nullable\.$#' |
107 | | - identifier: isset.variable |
| 69 | + message: "#^Variable \\$_SERVER in isset\\(\\) always exists and is not nullable\\.$#" |
108 | 70 | count: 1 |
109 | 71 | path: src/IpHelper.php |
110 | 72 |
|
111 | 73 | - |
112 | | - message: '#^Variable \$netmask might not be defined\.$#' |
113 | | - identifier: variable.undefined |
| 74 | + message: "#^Variable \\$netmask might not be defined\\.$#" |
114 | 75 | count: 1 |
115 | 76 | path: src/IpHelper.php |
0 commit comments