-
Notifications
You must be signed in to change notification settings - Fork 889
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
Revise psr/container compatiblity #2227
Comments
You can make a PR and if nothing breaks we could definitly consider it for better compatibility range. |
Phinx also relies on |
@MasterOdin Thanks for the research. Indeed in this case I still couldn't keep |
Resolved with cakephp/cakephp#17356 (comment) |
With that last merge to |
What do you mean? |
Yes, noted - I'm referring to Line 41 in a86db7c
...which won't allow for 1.x? |
Released |
With #2106 the support for
psr/container
1.x was dropped, now supporting version 2.x only.Now I wonder if this change is really necessary. Currently this means that using Phinx with some Symfony packages 5.x (namely
symfony/dependency-injection
) is not possible anymore since these requirepsr/container
1.x; support forpsr/container
2.x was added with Symfony 6.x.AFAIS the
ContainerInterface
/getContainer()
usage in Phinx itself is very slim:Nothing here requires API from
psr/container
2.x unless I'm missing something.So maybe consider supporting
psr/container
1.x again?The text was updated successfully, but these errors were encountered: