-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Update phpstan/phpstan related dependencies to ^2.0" #805
Conversation
I'll probably want to open a 2.x branch as well. Thanks for trying at this. |
No worries, I'll chip away at this for an hour 2 from now. |
Ok, so this was more of a grind than actually Big Brain stuff. I would recommend:
Also: A new branch might be a nice clean cut-off point to drop D9 support? |
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.
oh, did rule identifiers become required, essentially fixing #803 😱 I wish I could have landed that sooner to reduce this effort. I appreciate it. I literally fell asleep at my laptop 2 times while working on that.
->identifier('plugin.manager.alterInfoMissing') | ||
->tip('For example, to invoke hook_mymodule_data_alter() call alterInfo with "mymodule_data".') | ||
->line($node->getStartLine()) | ||
->identifier('pluginManagerInspection.alterInfoMissing') | ||
->build(); |
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.
I didn't review the commit log, but I'm guessing something about the format of the error identifier made PHPStan mad?
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.
Nope, this is a rare occasion where there was actually an identifier and I completely overlooked it.
Not too sure what to do now...
Do we want double-full-stop identifiers?
If we do I'll have to change the other identifiers in this class to the same prefix.
Help! :)
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.
I'm fine taking your changes, I was just curious
We can say 2.x drops Drupal 9 support, as a follow up to his PR. |
Co-authored-by: Matt Glaman <[email protected]>
I couldn't handle in batches longer than one hour, extremely grindy stuff |
Thanks for this!! |
Naive first stab