Skip to content
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

Merged
merged 4 commits into from
Jun 14, 2022
Merged

QA: Bumps Dependencies and Improves Static Analysis #129

merged 4 commits into from
Jun 14, 2022

Conversation

gsteel
Copy link
Member

@gsteel gsteel commented Jun 13, 2022

Q A
QA yes

Description

  • Drops PHP 7.3
  • Drops Service Manager v2
  • Updates latest dev dependencies
  • Adds template types for plugin manager
  • Fixes newly surfaced type errors
  • Drops Interop\Container
  • Moves Service Manager from dev deps to required deps

- 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>
@@ -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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be reverted

Copy link
Member Author

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>
Copy link
Member

@boesing boesing left a 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 ❤️

src/ValidatorPluginManager.php Outdated Show resolved Hide resolved
Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel
Copy link
Member Author

gsteel commented Jun 14, 2022

Is something wrong with the laminas-ci action 1.20 release? - Everything is passing locally

@Ocramius
Copy link
Member

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.

@Ocramius
Copy link
Member

FWIW, raised laminas/laminas-continuous-integration-action#95, need a review :)

Signed-off-by: George Steel <george@net-glue.co.uk>
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 thanks @gsteel!

@Ocramius Ocramius merged commit 90acc89 into laminas:2.20.x Jun 14, 2022
@gsteel gsteel deleted the plugin-manager branch June 14, 2022 12:39
michalbundyra added a commit to michalbundyra/laminas-validator that referenced this pull request Mar 4, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Removal of container-interop/container-interop
3 participants