[wp-trac] [WordPress Trac] #43041: Rename the capital_P_dangit function

WordPress Trac noreply at wordpress.org
Thu Oct 18 03:30:55 UTC 2018


#43041: Rename the capital_P_dangit function
-------------------------+-------------------------------
 Reporter:  danieltj     |       Owner:  jrf
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.1
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  coding-standards
-------------------------+-------------------------------

Comment (by SergeyBiryukov):

 > Huh, interesting. I tested for that, and it seemed to automatically be
 re-enabled in a subsequent file.

 Just wanted to confirm that. Per
 https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage:

 > Note: All `phpcs:disable` and `phpcs:enable` comments only apply to the
 file they are contained within. After the file has finished processing all
 sniffs are re-enabled for future files.

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


More information about the wp-trac mailing list