-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
bump to phpstan level 4 #1859
bump to phpstan level 4 #1859
Conversation
|
||
$table = $definition->getArguments()[1]['db_table'] ?? 'sessions'; | ||
|
||
if (! method_exists($definition->getClass(), 'configureSchema')) { |
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.
since method_exists($definition->getClass(), 'configureSchema')
is alyways true now this class is no-op, right? 👀
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.
Indeed. Let's remove class too, since you already removed compiler pass definition anyways
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.
Yeah although its a BC break I would also tend to remove it as its completely useless now
1bc3ceb
to
d82bf05
Compare
|
||
$table = $definition->getArguments()[1]['db_table'] ?? 'sessions'; | ||
|
||
if (! method_exists($definition->getClass(), 'configureSchema')) { |
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.
Indeed. Let's remove class too, since you already removed compiler pass definition anyways
d82bf05
to
acda9f3
Compare
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 the help with this grunt work!
No description provided.