|
139 | 139 | 'count' => 1, |
140 | 140 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', |
141 | 141 | ]; |
142 | | -$ignoreErrors[] = [ |
143 | | - 'message' => '#^Right side of && is always true\\.$#', |
144 | | - 'identifier' => 'booleanAnd.rightAlwaysTrue', |
145 | | - 'count' => 1, |
146 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', |
147 | | -]; |
148 | 142 | $ignoreErrors[] = [ |
149 | 143 | 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', |
150 | 144 | 'identifier' => 'empty.offset', |
151 | 145 | 'count' => 1, |
152 | 146 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', |
153 | 147 | ]; |
154 | | -$ignoreErrors[] = [ |
155 | | - 'message' => '#^Left side of && is always true\\.$#', |
156 | | - 'identifier' => 'booleanAnd.leftAlwaysTrue', |
157 | | - 'count' => 1, |
158 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', |
159 | | -]; |
160 | 148 | $ignoreErrors[] = [ |
161 | 149 | 'message' => '#^While loop condition is always true\\.$#', |
162 | 150 | 'identifier' => 'while.alwaysTrue', |
|
859 | 847 | 'count' => 1, |
860 | 848 | 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', |
861 | 849 | ]; |
862 | | -$ignoreErrors[] = [ |
863 | | - 'message' => '#^Strict comparison using \\=\\=\\= between false and false will always evaluate to true\\.$#', |
864 | | - 'identifier' => 'identical.alwaysTrue', |
865 | | - 'count' => 1, |
866 | | - 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', |
867 | | -]; |
868 | 850 | $ignoreErrors[] = [ |
869 | 851 | 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', |
870 | 852 | 'identifier' => 'deadCode.unreachable', |
|
1033 | 1015 | 'count' => 1, |
1034 | 1016 | 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', |
1035 | 1017 | ]; |
1036 | | -$ignoreErrors[] = [ |
1037 | | - 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', |
1038 | | - 'identifier' => 'function.alreadyNarrowedType', |
1039 | | - 'count' => 1, |
1040 | | - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', |
1041 | | -]; |
1042 | 1018 | $ignoreErrors[] = [ |
1043 | 1019 | 'message' => '#^Negated boolean expression is always false\\.$#', |
1044 | 1020 | 'identifier' => 'booleanNot.alwaysFalse', |
|
1063 | 1039 | 'count' => 2, |
1064 | 1040 | 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', |
1065 | 1041 | ]; |
1066 | | -$ignoreErrors[] = [ |
1067 | | - 'message' => '#^Left side of && is always true\\.$#', |
1068 | | - 'identifier' => 'booleanAnd.leftAlwaysTrue', |
1069 | | - 'count' => 1, |
1070 | | - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', |
1071 | | -]; |
1072 | 1042 | $ignoreErrors[] = [ |
1073 | 1043 | 'message' => '#^Negated boolean expression is always true\\.$#', |
1074 | 1044 | 'identifier' => 'booleanNot.alwaysTrue', |
|
0 commit comments