Skip to content

Commit 0c812b5

Browse files
committed
Build/Test Tools: Exclude plugins and non-bundled themes from PHP compatibility scans.
Fixes #54425. git-svn-id: https://develop.svn.wordpress.org/trunk@52148 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e4132b5 commit 0c812b5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

phpcompat.xml.dist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
-->
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`.
4554
However, because these files are included in a non-standard path, false positives are triggered in WordPress Core.

0 commit comments

Comments
 (0)