-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ::class where possible #1770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malarzm What did you use to do it? Something we can apply to Doctrine's CS?
|
||
$this->assertInstanceOf('Doctrine\ODM\MongoDB\Proxy\Proxy', $foo->ref); | ||
$this->assertInstanceOf(\Doctrine\ODM\MongoDB\Proxy\Proxy::class, $foo->ref); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CS is breaking here. This should be referenced via use
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching 👍
@carusogabriel sadly it was manual work |
Chances are this is everything: some occurrences were left on purpose, some might have been missed. @carusogabriel I did separate commit on purpose in case you were reading the changes, after accepting I'll squash commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
I’ll search for a Fixer or something to do this jobs for us, isn’t fair to do it by hand!
This isn't even my final form