[wp-trac] [WordPress Trac] #56791: Coding Standards fixes for WP 6.2

WordPress Trac noreply at wordpress.org
Tue Nov 29 12:32:52 UTC 2022


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

Comment (by SergeyBiryukov):

 In [changeset:"54889" 54889]:
 {{{
 #!CommitTicketReference repository="" revision="54889"
 Coding Standards: Add visibility to methods in `tests/phpunit/tests/`.

 Adds a `public` visibility to test fixtures, tests, data providers, and
 callbacks methods. This continues the previous efforts to make sure
 visibility is declared on all methods.

 Note: This will be enforced by WPCS 3.0.0.

 Follow-up to [51919], [52009], [52010].

 Props jrf.
 See #56791.
 }}}

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


More information about the wp-trac mailing list