WordPress.org

Make WordPress Core

Changeset 43013


Ignore:
Timestamp:
04/28/2018 12:44:50 AM (2 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Don't trigger the global variable override PHPCS sniff for core.

Props jrf

Fixes #43776

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r42346 r43013  
    8383        </properties>
    8484    </rule>
    85     <rule ref="WordPress.Variables.GlobalVariables">
    86         <properties>
    87             <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"/>
    88         </properties>
    89     </rule>
    9085
    9186    <!-- Exclude the unit tests from select sniffs. -->
Note: See TracChangeset for help on using the changeset viewer.