[wp-trac] [WordPress Trac] #56754: While scanning through the files for the standards I found errors and warnings.

WordPress Trac noreply at wordpress.org
Fri Oct 7 07:30:50 UTC 2022


#56754: While scanning through the files for the standards I found errors and
warnings.
------------------------------+-----------------------------
 Reporter:  hilayt24          |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 In "app/public/wp-admin/includes/taxonomy.php" while scanning I found the
 following errors and warnings.


 {{{
 189 | ERROR   | Variable "$cat_ID" is not in valid snake_case format, try
 "$cat_i_d"
  191 | ERROR   | Variable "$cat_ID" is not in valid snake_case format, try
 "$cat_i_d"
  191 | WARNING | Found: ==. Use strict comparisons (=== or !==).
  196 | ERROR   | Variable "$cat_ID" is not in valid snake_case format, try
 "$cat_i_d"
 }}}

 WordPress Version : 6.0.2
 PHPCS Standard : WordPress-Core

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


More information about the wp-trac mailing list