[wp-trac] [WordPress Trac] #58831: Coding Standards fixes for WP 6.4

WordPress Trac noreply at wordpress.org
Wed Jul 19 23:24:25 UTC 2023


#58831: Coding Standards fixes for WP 6.4
----------------------------+-------------------------------
 Reporter:  audrasjb        |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.4
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by jrf):

 Replying to [comment:4 SergeyBiryukov]:
 > As previously noted in comment:1:ticket:50085, the change to `__DIR__`
 in `wp-tests-config-sample.php` was previously reverted in [47201] to
 avoid breaking unit tests created with the `wp scaffold plugin` WP-CLI
 command, see comment:15:ticket:48082 and #49377 for details. It might be
 worth checking if that concern is still relevant.

 Ah, that's good to know. We may need to put an exception in place for that
 file once WPCS 3.0.0 comes out (which will flag this).

 Having read up on the discussion, I don't think this concern will ever
 really go away completely, as, even though the WP-CLI scaffold plugin
 script has been updated, the problem is not the script itself, but the
 fact that there are countless plugins using a ''copy'' of that script and
 getting all those copies updated to the latest version is a manual process
 (and in the mean time CI workflows would break).

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


More information about the wp-trac mailing list