[wp-trac] [WordPress Trac] #47411: Build tools, WPCS: disable line ending check

WordPress Trac noreply at wordpress.org
Mon May 27 20:28:57 UTC 2019


#47411: Build tools, WPCS: disable line ending check
------------------------------+---------------------
 Reporter:  azaozz            |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.3
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-testing     |     Focuses:
------------------------------+---------------------
Changes (by azaozz):

 * keywords:   => needs-testing


Comment:

 In 47411.diff: disable the line ending check when reporting errors, i.e.
 running `phpcs`, but fix the line ending to `\n` when fixing by running
 `phpcfb`.

 This makes phpcs less "noisy" on Windows and syncs the behaviour on
 different platforms.

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


More information about the wp-trac mailing list