tolerant-php-parser icon indicating copy to clipboard operation
tolerant-php-parser copied to clipboard

Messy usage of static property access

Open felixfbecker opened this issue 8 years ago • 3 comments
trafficstars

I saw a lot of messy access to static properties in the code base, i.e. static properties are accessed on the instance with -> or on the instance with :: instead of on the class with ::

felixfbecker avatar Jun 10 '17 10:06 felixfbecker

Is this bad practice? I know we use this a lot working with child_names where we don't know the class.

roblourens avatar Jun 12 '17 21:06 roblourens

I would make an exception for child_names, but I saw it in other places too

felixfbecker avatar Jun 13 '17 06:06 felixfbecker

Is there any activity here?

jens1o avatar Jan 02 '18 11:01 jens1o