[wp-trac] [WordPress Trac] #42946: Missing a space before inline comment text

WordPress Trac noreply at wordpress.org
Wed Dec 20 23:06:18 UTC 2017


#42946: Missing a space before inline comment text
--------------------------+-------------------------------
 Reporter:  chetan200891  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by netweb):

 * keywords:  has-patch =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Closing this as SimplePie is an external 3rd party library that is
 included in WordPress and adheres to its own coding standards. Here's the
 exclusion:
 https://core.trac.wordpress.org/browser/trunk/phpcs.xml.dist#L33

 Replying to [comment:3 chetan200891]:
 > Apart from that, I have another question. There are still many inline
 comments in other files which gives error for "Inline comments must end in
 full-stops, exclamation marks, or question marks"
 >
 > How are we going to fix that? Any planning for it?

 Are these being reported by PHPCS using WordPress's `phpcs.xml.dist` file?

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


More information about the wp-trac mailing list