From a0742854fab91ce9c99e1c7b5f5db73d4ff74782 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 13 Jun 2020 12:34:12 +0000 Subject: [PATCH] Coding Standards: Exclude the whole PHPMailer directory from WPCS checks, for consistency with other external libraries in their own directory. Follow-up to [48033]. See #41750. git-svn-id: https://develop.svn.wordpress.org/trunk@48036 602fd350-edb4-49c9-b593-d223f7449a82 --- phpcs.xml.dist | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 746bb09319..55924b04cd 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -115,9 +115,6 @@ /src/wp-includes/class-pop3\.php /src/wp-includes/class-requests\.php /src/wp-includes/class-simplepie\.php - /src/wp-includes/PHPMailer/Exception\.php - /src/wp-includes/PHPMailer/PHPMailer\.php - /src/wp-includes/PHPMailer/SMTP\.php /src/wp-includes/class-snoopy\.php /src/wp-includes/class-wp-block-parser\.php /src/wp-includes/deprecated\.php @@ -130,11 +127,12 @@ /src/wp-includes/ID3/* /src/wp-includes/IXR/* /src/wp-includes/js/* + /src/wp-includes/PHPMailer/* /src/wp-includes/random_compat/* /src/wp-includes/Requests/* /src/wp-includes/SimplePie/* - /src/wp-includes/Text/* /src/wp-includes/sodium_compat/* + /src/wp-includes/Text/* /tests/phpunit/includes/speed-trap-listener\.php