[wp-trac] [WordPress Trac] #49722: Don't format before linting on Travis

WordPress Trac noreply at wordpress.org
Sun Mar 29 22:59:46 UTC 2020


#49722: Don't format before linting on Travis
------------------------------+------------------------------
 Reporter:  johnbillion       |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |     Focuses:
------------------------------+------------------------------

Comment (by pento):

 IIRC, `phpcbf` will return an error value if it makes any changes, so the
 subsequent `phpcs` commands won't be run. This was probably done for
 performance.

 The `composer format` can probably be removed, I have no strong feelings
 either way on it.

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


More information about the wp-trac mailing list