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

v4 is not compatible with zend-servicemanager ^2.7.0 #67

Open
devkokov opened this issue Mar 12, 2020 · 3 comments
Open

v4 is not compatible with zend-servicemanager ^2.7.0 #67

devkokov opened this issue Mar 12, 2020 · 3 comments
Labels
feature-request A feature should be added or improved.

Comments

@devkokov
Copy link

Please fill out the sections below to help us address your issue.

Version of AWS SDK for PHP?

3.87.20

Version of AWS SDK ZF2 Module?

v4.1.0

Version of ZF2?

2

Version of PHP (php -v)?

7.1.33

What issue did you see?

Fatal error: Interface 'Zend\ServiceManager\Factory\FactoryInterface' not found in /var/www/vendor/aws/aws-sdk-php-zf2/src/Factory/DynamoDbSessionSaveHandlerFactory.php on line 16

Steps to reproduce

If you have a runnable example, please include it as a snippet or link to a repository/gist for larger code examples.

Additional context

Any additional information relevant to the issue, for example PHP/environment config settings if the issue is related to memory or performance.
Using zendframework/zend-servicemanager 2.7.11, which is supposed to be supported from reading the composer.json file

@devkokov
Copy link
Author

I realise now this is explained in the README, but maybe composer.json needs changing to reflect this i.e.
from
"zendframework/zend-servicemanager": "^2.7.0 || ^3.0",
to
"zendframework/zend-servicemanager": "^3.0",

@ajredniwja
Copy link
Contributor

@devkokov I think that is expected behavior, and changing it might be a breaking change for some people. What do you think?

@ajredniwja ajredniwja added feature-request A feature should be added or improved. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels May 19, 2021
@devkokov
Copy link
Author

It would be a breaking change for anyone using v2.7 of zendframework/zend-servicemanager, however in my experience this version of the service manager doesn't work with v4 of aws-sdk-php-zf2 anyway. (hence raising this issue)
Unless I'm missing something

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

2 participants