From e5e2b86a6a0b24603a5870b707e8477a6ac7d7d4 Mon Sep 17 00:00:00 2001 From: Tonya Mork Date: Thu, 26 Aug 2021 13:35:16 +0000 Subject: [PATCH] Coding Standards: Update the config for `WordPress.PHP.FileName` in PHPCS ruleset. The WPCS sniff already takes the test classes in the `tests/phpunit/includes` directory into account. Only the test cases outside of that directory, i.e. in the `tests/phpunit/tests` directory need to be listed here. Includes alphabetizing the list. Follow-up to [42346], [45607]. Props jrf, hellofromTonya, SergeyBiryukov. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@51659 602fd350-edb4-49c9-b593-d223f7449a82 --- phpcs.xml.dist | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 7ec2dc48ff92..dedf053d632a 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -231,23 +231,18 @@ - + - - - - - - - + + + + - - + - - +