-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
QA: Bumps Dependencies and Improves Static Analysis #129
Conversation
- Drops PHP 7.3 - Drops Service Manager v2 - Updates latest dev dependencies - Adds template types for plugin manager - Fixes newly surfaced type errors Signed-off-by: George Steel <george@net-glue.co.uk>
src/ValidatorPluginManager.php
Outdated
@@ -239,7 +248,7 @@ class ValidatorPluginManager extends AbstractPluginManager | |||
\Zend\Validator\Bitwise::class => Bitwise::class, | |||
\Zend\Validator\Callback::class => Callback::class, | |||
\Zend\Validator\CreditCard::class => CreditCard::class, | |||
\Zend\Validator\Csrf::class => Csrf::class, | |||
\zend\validator\csrf::class => Csrf::class, |
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.
To be reverted
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.
Eagle eyes! I'm blaming phpcbf
for that!
Signed-off-by: George Steel <george@net-glue.co.uk>
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.
Can you also replace the interop containers with PSR? that would be decent.
If this component does require interop as a composer dependency, this can be dropped as well 👌🏻
2 birds with one stone ❤️
Signed-off-by: George Steel <george@net-glue.co.uk>
Is something wrong with the laminas-ci action 1.20 release? - Everything is passing locally |
Yup: new got version broke everything 😩 We need to patch it to add https://stackoverflow.com/questions/71849415/i-cannot-add-the-parent-directory-to-safe-directory-in-git/71904131#71904131 to it. |
FWIW, raised laminas/laminas-continuous-integration-action#95, need a review :) |
Signed-off-by: George Steel <george@net-glue.co.uk>
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 @gsteel!
Pretty unsure why it was moved from dev dependencies in laminas#129, but it seems to be wrong. Still suggest section states: > "laminas/laminas-servicemanager": "Laminas\\ServiceManager component to allow using the ValidatorPluginManager and validator chains", so it is optional dependency and we should not be forced to install it, when we do not need it.
Description