[wp-trac] [WordPress Trac] #41057: Update PHP codebase per WordPress PHP Coding Standards

WordPress Trac noreply at wordpress.org
Thu Nov 30 17:05:42 UTC 2017


#41057: Update PHP codebase per WordPress PHP Coding Standards
----------------------------+-----------------------
 Reporter:  netweb          |       Owner:  pento
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  5.0
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  early commit    |     Focuses:
----------------------------+-----------------------

Comment (by pento):

 @jrf has kindly pushed her [https://github.com/WordPress-Coding-Standards
 /WordPress-Coding-Standards/tree/feature/new-multi-line-comment-
 formatting-sniffs in-progress work] on the multi-line comment indenting
 fix - docblocks appear to be working correctly, but other multi-line
 comments are still in progress.

 I'm not particularly fussed about the latter, it can be fixed somewhere
 down the road. In the mean time, I'm planning on landing this in a few
 hours. [https://github.com/WordPress/wordpress-develop/pull/8/ The PR is
 updated], in case you feel like doing some more perusing through code,
 though it's worth remembering that this isn't the only formatting fix that
 will ever be committed - we can do more, on a more regular basis, as WPCS
 is updated to catch the weird edge cases.

 Before `wpcbf`: 74775 errors and 20816 warnings in 1107 files.
 After `wpcbf`: 3554 errors and 1235 warnings in 535 files.

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


More information about the wp-trac mailing list