Opened 2 years ago
Closed 2 years ago
#6567 closed defect (bug) (invalid)
Use Yoda Condition As per WordPress-Core Coding Standard
Reported by: | upadalavipul | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
I have run the PHPCS WordPress-Core Coding Standard and found the Yoda Condition Error in the /trunk/svn.wordpress.org/bin/slack-commit-hook.php file and no of code line 4.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
The use of Yoda conditions may be in the standard for Core, but it's debatable as to whether it is a good standard. We do not have such a standard for meta code at this time.