Skip to content

Commit 71ace56

Browse files
committed
Sniff::$test_class_whitelist: add newly added base test class to the list
See: https://core.trac.wordpress.org/changeset/44701
1 parent 913f9cc commit 71ace56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WordPress/Sniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ abstract class Sniff implements PHPCS_Sniff {
770770
* @var string[]
771771
*/
772772
protected $test_class_whitelist = array(
773+
'WP_UnitTestCase_Base' => true,
773774
'WP_UnitTestCase' => true,
774775
'WP_Ajax_UnitTestCase' => true,
775776
'WP_Canonical_UnitTestCase' => true,

0 commit comments

Comments
 (0)