mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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"/>
|
||||
</properties>
|
||||
</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. -->
|
||||
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
|
||||
|
||||
Reference in New Issue
Block a user