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

Drop container-interop/container-interop #792

Merged
merged 2 commits into from Nov 18, 2022

Conversation

driehle
Copy link
Member

@driehle driehle commented Nov 18, 2022

This PR drops the dependency towards container-interop/container-interop, which is abandonned.

As a consequence, the interface Interop\Container\ContainerInterface does not exist anymore in favour of Psr\Container\ContainerInterface. We follow the guidelines of laminas, which considers this to be a non-breaking change (see release notes of servicemanager 3.11.0).

All affected signatures (besides unit tests) are internal or final, so there will be no issues for users.

@driehle driehle added this to the 5.3.0 milestone Nov 18, 2022
@driehle driehle self-assigned this Nov 18, 2022
@driehle driehle requested a review from a team November 18, 2022 12:18
@driehle driehle mentioned this pull request Nov 18, 2022
2 tasks
@@ -37,7 +37,6 @@
"homepage": "http://www.doctrine-project.org/",
"require": {
"php": "^7.4 || ~8.0.0 || ~8.1.0",
"container-interop/container-interop": "^1.2.0",
Copy link
Member

Choose a reason for hiding this comment

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

psr/container should become a dependency here, since we still reference it in src/

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, added

phpstan.neon Show resolved Hide resolved
laminas-cache has change signatures from 3.6.0 to 3.8.0 by added the mixed type. This causes troubles for PhpStan, which identifies the mixed type being missing when executed with PHP 8.1. Ignoring these errors for now to keep compatibility with PHP 7.4.
@driehle driehle merged commit 2fc752c into doctrine:5.3.x Nov 18, 2022
@driehle driehle deleted the feat/drop-container-interop branch November 18, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants