[wp-trac] [WordPress Trac] #59161: Composer: update to WordPressCS 3.0.0

WordPress Trac noreply at wordpress.org
Tue Sep 12 15:21:18 UTC 2023


#59161: Composer: update to WordPressCS 3.0.0
------------------------------+-------------------------------
 Reporter:  jrf               |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  6.4
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"56559" 56559]:
 {{{
 #!CommitTicketReference repository="" revision="56559"
 Coding Standards: Include one space after `function` keyword for closures.

 Note: This is enforced by WPCS 3.0.0.

 Reference: [https://github.com/WordPress/WordPress-Coding-
 Standards/pull/2328 WPCS: PR #2328 Core: properly check formatting of
 function declaration statements].

 Props jrf.
 See #59161, #58831.
 }}}

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


More information about the wp-trac mailing list