[wp-trac] [WordPress Trac] #37699: Death to Globals Episode #1: A Registry, A Pattern

WordPress Trac noreply at wordpress.org
Thu Sep 1 19:03:37 UTC 2016


#37699: Death to Globals Episode #1: A Registry, A Pattern
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by MikeSchinkel):

 Replying to [comment:65 schlessera]:
 > Here's an example of type inspection at work in PHPStorm, through the
 container indirection:

 Which does not address my other concern:

 > _This simple issue that WP::get('wdpb') won't get caught during
 development in an IDE like PhpStorm because it can't inspect the string
 and validate it._

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


More information about the wp-trac mailing list