[wp-trac] [WordPress Trac] #54064: Add phpcs run command to Docker

WordPress Trac noreply at wordpress.org
Thu Sep 2 19:35:48 UTC 2021


#54064: Add phpcs run command to Docker
------------------------------+-----------------------------
 Reporter:  pbearne           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 I keep on getting formatting error in githib actions but have no easy way
 to see what they are so have added phpcs commands to the Docker build
 this runs phpcs on the tests folder

 {{{
 npm run phpcs:tests
 }}}


 This runs phpcs in the src folder

 {{{
 npm run phpcs:src
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54064>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list