[wp-trac] [WordPress Trac] #54425: Exclude plugins and themes from PHP Compatibility scans

WordPress Trac noreply at wordpress.org
Wed Nov 17 10:07:11 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:
------------------------------+-----------------------
Changes (by jrf):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Eh.. @desrosj This was originally set up like that ''**by design**'' as,
 while those files do not have to comply with the WP coding standards, we
 do want to make sure they are PHP cross-version compatible and won't crash
 sites.

 The PHPCompatibility scan has a different remit than the WPCS scan, so
 IMO, this commit should be reverted.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54425#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list