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

WordPress Trac noreply at wordpress.org
Fri Jul 21 07:27:04 UTC 2017


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

Comment (by jrf):

 Regarding the current ruleset being used: as long as the PHPCS 2.9 dev
 branch is used, all sniff based exclusions can be removed as they have
 been fixed.

 Both the fix for `Squiz.PHP.EmbeddedPhp.SpacingBeforeClose` as well as for
 `Squiz.Strings.DoubleQuoteUsage.NotRequired` will be included in PHPCS
 2.9.2 (not yet released) and are already included in PHPCS 3.0.2.

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


More information about the wp-trac mailing list