WordPress.org

Make WordPress Core

Changeset 48036 for trunk/phpcs.xml.dist


Ignore:
Timestamp:
06/13/2020 12:34:12 PM (17 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r48033 r48036  
    116116    <exclude-pattern>/src/wp-includes/class-requests\.php</exclude-pattern>
    117117    <exclude-pattern>/src/wp-includes/class-simplepie\.php</exclude-pattern>
    118     <exclude-pattern>/src/wp-includes/PHPMailer/Exception\.php</exclude-pattern>
    119     <exclude-pattern>/src/wp-includes/PHPMailer/PHPMailer\.php</exclude-pattern>
    120     <exclude-pattern>/src/wp-includes/PHPMailer/SMTP\.php</exclude-pattern>
    121118    <exclude-pattern>/src/wp-includes/class-snoopy\.php</exclude-pattern>
    122119    <exclude-pattern>/src/wp-includes/class-wp-block-parser\.php</exclude-pattern>
     
    131128    <exclude-pattern>/src/wp-includes/IXR/*</exclude-pattern>
    132129    <exclude-pattern>/src/wp-includes/js/*</exclude-pattern>
     130    <exclude-pattern>/src/wp-includes/PHPMailer/*</exclude-pattern>
    133131    <exclude-pattern>/src/wp-includes/random_compat/*</exclude-pattern>
    134132    <exclude-pattern>/src/wp-includes/Requests/*</exclude-pattern>
    135133    <exclude-pattern>/src/wp-includes/SimplePie/*</exclude-pattern>
     134    <exclude-pattern>/src/wp-includes/sodium_compat/*</exclude-pattern>
    136135    <exclude-pattern>/src/wp-includes/Text/*</exclude-pattern>
    137     <exclude-pattern>/src/wp-includes/sodium_compat/*</exclude-pattern>
    138136
    139137    <exclude-pattern>/tests/phpunit/includes/speed-trap-listener\.php</exclude-pattern>
Note: See TracChangeset for help on using the changeset viewer.