[wp-trac] [WordPress Trac] #62166: Bundled themes: PHPCS "exactly one blank line after the file comment" (was: PHPCS Errors)

WordPress Trac noreply at wordpress.org
Fri Oct 4 14:37:13 UTC 2024


#62166: Bundled themes: PHPCS "exactly one blank line after the file comment"
---------------------------+-------------------------------
 Reporter:  dhruvang21     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  minor          |  Resolution:
 Keywords:  has-patch      |     Focuses:  coding-standards
---------------------------+-------------------------------
Changes (by sabernhardt):

 * component:  General => Bundled Theme
 * severity:  normal => minor


Old description:

> This ticket is created to serve as the base for resolving the phpcs error
> such as
> "There must be exactly one blank line after the file comment" for the
> whole codebase
>
> Command to check for this Error :- phpcs --standard=WordPress
> --extensions=php file_path
>
> Currently the error has been resolved in the following themes:-
>
> Twentythirteen, Twentyfifteen :- By this patch
> [https://core.trac.wordpress.org/attachment/ticket/62160/62160.patch]
>
> Twentyfouteen:- [https://core.trac.wordpress.org/ticket/62098]
>
> Twentysixteen:- [https://core.trac.wordpress.org/ticket/62160]

New description:

 This ticket is created to serve as the base for resolving the phpcs error
 such as
 "There must be exactly one blank line after the file comment" for the
 whole codebase

 Command to check for this Error :-
 `phpcs --standard=WordPress --extensions=php file_path `

 Currently the error has been resolved in the following themes:-

 Twenty Thirteen, Twenty Fifteen :- By this patch
 [https://core.trac.wordpress.org/attachment/ticket/62160/62160.patch
 62160.patch]

 Twenty Fourteen: #62098 / [59158]

 Twenty Sixteen: #62160

--

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


More information about the wp-trac mailing list