Make WordPress Core


Ignore:
Timestamp:
05/06/2024 06:35:46 PM (7 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Exclude PHP translation files from phpcs linting.

Translation files in this directory are automatically generated and are not subject to any linting considerations.

See #59647

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcompat.xml.dist

    r57985 r58107  
    5050    <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
    5151
     52    <!-- Exclude translation files. -->
     53    <exclude-pattern>/src/wp-content/languages/*</exclude-pattern>
     54
    5255    <!--
    5356        PHPCompatibilityParagonieSodiumCompat prevents false positives in `sodium_compat`.
Note: See TracChangeset for help on using the changeset viewer.