Skip to content

Commit 12c5647

Browse files
authored
Merge pull request #1636 from WordPress-Coding-Standards/feature/new-wp-testcase-class
Sniff::$test_class_whitelist: add newly added base test class to the list
2 parents 126b2e3 + 71ace56 commit 12c5647

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)