Build/Test Tools: Don't trigger the global variable override PHPCS sniff for core.
Props jrf Fixes #43776 git-svn-id: https://develop.svn.wordpress.org/trunk@43013 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
da5dc711a5
commit
790f1ef5da
|
@ -82,11 +82,6 @@
|
||||||
<property name="custom_test_class_whitelist" type="array" value="WP_UnitTestCase,WP_Ajax_UnitTestCase,WP_Canonical_UnitTestCase,WP_Test_REST_TestCase,WP_Test_REST_Controller_Testcase,WP_Test_REST_Post_Type_Controller_Testcase,WP_XMLRPC_UnitTestCase"/>
|
<property name="custom_test_class_whitelist" type="array" value="WP_UnitTestCase,WP_Ajax_UnitTestCase,WP_Canonical_UnitTestCase,WP_Test_REST_TestCase,WP_Test_REST_Controller_Testcase,WP_Test_REST_Post_Type_Controller_Testcase,WP_XMLRPC_UnitTestCase"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="WordPress.Variables.GlobalVariables">
|
|
||||||
<properties>
|
|
||||||
<property name="custom_test_class_whitelist" type="array" value="WP_UnitTestCase,WP_Ajax_UnitTestCase,WP_Canonical_UnitTestCase,WP_Test_REST_TestCase,WP_Test_REST_Controller_Testcase,WP_Test_REST_Post_Type_Controller_Testcase,WP_XMLRPC_UnitTestCase"/>
|
|
||||||
</properties>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<!-- Exclude the unit tests from select sniffs. -->
|
<!-- Exclude the unit tests from select sniffs. -->
|
||||||
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
|
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
|
||||||
|
|
Loading…
Reference in New Issue