Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

php5.5 ::class static call should not be reported #73

Open
edsonmedina opened this issue Mar 10, 2015 · 1 comment
Open

php5.5 ::class static call should not be reported #73

edsonmedina opened this issue Mar 10, 2015 · 1 comment

Comments

@edsonmedina
Copy link
Owner

http://php.net/manual/en/language.oop5.basic.php#language.oop5.basic.class.class

@loren-osborn
Copy link

Seems reasonable, but, to be clear, this is a “class constant”, not a “static method call”. Also, depending on the context, coupling something to a specific class may make something more difficult to test. (It depends a lot on what this is used for.) parent::class, self::class and static::class should never impede testing, I believe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants