[wp-trac] [WordPress Trac] #43763: Auto-fixable CS violations in Core

WordPress Trac noreply at wordpress.org
Fri Apr 13 23:06:49 UTC 2018


#43763: Auto-fixable CS violations in Core
--------------------------+-------------------------------
 Reporter:  tfrommen      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------

Comment (by tfrommen):

 Hi Juliette,

 yeah, absolutely. That could have been fixed differently. In this case, I
 decided to leave it like so (which was basically the result of running
 phpcbf on that file), because the array before is actually the one being
 used in the line that I updated (which one doesn't see in the diff). So
 the two variables are at least somewhat related.
 That said, I could also just remove the whitespace, and add a blank line
 in there, if you like that better. :)

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


More information about the wp-trac mailing list