File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ parameters:
11
11
# Level 0
12
12
- '#^Result of method \S+ \(void\) is used\.$#'
13
13
14
+ -
15
+ # False positive. Will be fixed via next version of PHPCSUtils.
16
+ count: 1
17
+ message: "#^Cannot unset offset 'query' on non-empty-array<int, array<string, int\\|string>>.$#"
18
+ path: WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff.php
19
+
14
20
# Level 4
15
21
- '#^Property \S+::\$\S+ \([^)]+\) in isset\(\) is not nullable\.$#'
16
22
-
@@ -22,5 +28,11 @@ parameters:
22
28
message: '#^Strict comparison using === between true and false will always evaluate to false\.$#'
23
29
path: WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php
24
30
31
+ -
32
+ # False positive. Will be fixed via next version of PHPCSUtils.
33
+ count: 1
34
+ message: "#^Cannot unset offset 'file' on array<int, array<string, int\\|string>>.$#"
35
+ path: WordPress/Sniffs/Security/EscapeOutputSniff.php
36
+
25
37
# Level 5
26
38
- '#^Parameter \#3 \$value of method \S+File::recordMetric\(\) expects string, \(?(float|int|bool)(\|(float|int|bool))*\)? given\.$#'
You can’t perform that action at this time.
0 commit comments