[wp-trac] [WordPress Trac] #38462: Unit test to detect identical hooks with differing parameters

WordPress Trac noreply at wordpress.org
Sun Oct 23 22:00:31 UTC 2016


#38462: Unit test to detect identical hooks with differing parameters
------------------------------+------------------------------
 Reporter:  johnbillion       |       Owner:
     Type:  feature request   |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Plugins           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+------------------------------

Comment (by jdgrimes):

 The [https://github.com/WordPress/phpdoc-parser docs parser] could
 probably do this easily, since it already scans for all of the hooks
 anyway. Maybe there is a way to integrate it into the tests process, but
 just to scan for the hooks?

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


More information about the wp-trac mailing list