[wp-trac] [WordPress Trac] #54425: Exclude plugins and themes from PHP Compatibility scans
WordPress Trac
noreply at wordpress.org
Wed Nov 17 13:49:37 UTC 2021
#54425: Exclude plugins and themes from PHP Compatibility scans
------------------------------+-----------------------
Reporter: desrosj | Owner: desrosj
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.9
Component: Build/Test Tools | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+-----------------------
Comment (by desrosj):
I came across this when I had several plugins from WordPress.org installed
and the scan was displaying a lot of errors. The plugins are not a part of
Core, so I figured the Core ruleset could exclude them.
Plugins don't need to support the same PHP versions as WordPress since
they can define their own lower limit (WooCommerce only supports PHP 7.0+,
for example), so this could result in some very noisy scan results when
trying to verify WordPress Core is compatible with the current ruleset.
Happy to revert if there's consensus, but as far as I know, the thinking
has always been to only run scans on files included in the final WordPress
package.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54425#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list