Make WordPress Core

Changeset 52148


Ignore:
Timestamp:
11/12/2021 06:38:54 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Exclude plugins and non-bundled themes from PHP compatibility scans.

Fixes #54425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcompat.xml.dist

    r47902 r52148  
    4141    <exclude-pattern>/vendor/*</exclude-pattern>
    4242
     43    <!-- Must-Use plugins. -->
     44    <exclude-pattern>/src/wp-content/mu-plugins/*</exclude-pattern>
     45
     46    <!-- Plugins. -->
     47    <exclude-pattern>/src/wp-content/plugins/*</exclude-pattern>
     48
     49    <!-- Themes except the twenty* themes. -->
     50    <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
     51
    4352    <!--
    4453        PHPCompatibilityParagonieSodiumCompat prevents false positives in `sodium_compat`.
Note: See TracChangeset for help on using the changeset viewer.