[wp-trac] [WordPress Trac] #22234: Use access modifiers in classes, not the var keyword

WordPress Trac noreply at wordpress.org
Sun May 18 21:28:32 UTC 2014


#22234: Use access modifiers in classes, not the var keyword
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  General         |     Version:  1.5
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+-----------------------------

Comment (by wonderboymusic):

 `hackificator` expects access modifiers for methods as well.

 [attachment:22234.3.diff 22234.3.diff] is an example of converting classes
 and adding magic `__get()` method.

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


More information about the wp-trac mailing list