Make WordPress Core

Ticket #47411: 47411.diff

File 47411.diff, 762 bytes (added by azaozz, 5 years ago)
  • phpcs.xml.dist

     
    154154                <exclude-pattern>/wp-tests-config-sample\.php</exclude-pattern>
    155155        </rule>
    156156
     157        <!-- Exclude checking of line endings when reporting errors, but fix them when running phpcbf.
     158                Git and SVN manage these pretty well cross-platform as "native".
     159                Whitelist configuration files. -->
    157160        <rule ref="Generic.Files.LineEndings">
    158161                <exclude-pattern>/wp-config\.php</exclude-pattern>
    159162                <exclude-pattern>/wp-config-sample\.php</exclude-pattern>
     163                <exclude phpcs-only="true" name="Generic.Files.LineEndings"/>
    160164        </rule>
    161165
    162166        <!-- WPCS1620: template.php isn't a template tag file. -->