File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ parameters:
1111 # Level 0
1212 - '#^Result of method \S+ \(void\) is used\.$#'
1313
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+
1420 # Level 4
1521 - '#^Property \S+::\$\S+ \([^)]+\) in isset\(\) is not nullable\.$#'
1622 -
@@ -22,5 +28,11 @@ parameters:
2228 message: '#^Strict comparison using === between true and false will always evaluate to false\.$#'
2329 path: WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php
2430
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+
2537 # Level 5
2638 - '#^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