-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DoctrineBridge] Remove deprecated classes and ContainerAwareEventManager::getListeners()
deprecation
#50575
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 u 8000 p 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
[DoctrineBridge] Remove deprecated classes and ContainerAwareEventManager::getListeners()
deprecation
#50575
Conversation
src/Symfony/Bridge/Doctrine/Tests/ContainerAwareEventManagerTest.php
Outdated
Show resolved
Hide resolved
38e4143
to
db7df29
Compare
db7df29
to
9c44816
Compare
9c44816
to
a97b1f2
Compare
src/Symfony/Bridge/Doctrine/Tests/ContainerAwareEventManagerTest.php
Outdated
Show resolved
Hide resolved
1de5b05
to
947912b
Compare
947912b
to
9ce38fe
Compare
9ce38fe
to
3c9c2b7
Compare
…eEventManager` (alexandre-daubois) This PR was merged into the 6.3 branch. Discussion ---------- [DoctrineBridge] Remove (wrong) PHPDoc on `ContainerAwareEventManager` | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This PR is a follow-up of the following discussion: #50575 (comment) Commits ------- d65db40 [DoctrineBridge] Remove (wrong) PHPDoc on `ContainerAwareEventManager`
…eEventManager` (alexandre-daubois) This PR was merged into the 6.3 branch. Discussion ---------- [DoctrineBridge] Remove (wrong) PHPDoc on `ContainerAwareEventManager` | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This PR is a follow-up of the following discussion: symfony/symfony#50575 (comment) Commits ------- d65db4073b [DoctrineBridge] Remove (wrong) PHPDoc on `ContainerAwareEventManager`
(rebase needed) |
3c9c2b7
to
c839f87
Compare
Rebased and updated with |
c839f87
to
4f3337d
Compare
FYI: DbalLogger is removed by #50571 already. But I'm fine either way, let's keep the change here and finish your PR first. |
You need to adjust the expected-missing-return-types.diff file. You can borrow the necessary change from #50571. |
4f3337d
to
929e64d
Compare
…nager::getListeners()` deprecation
929e64d
to
746b123
Compare
Thank you @alexandre-daubois. |
@derrabus to avoid having to regenerate the expected-missing-return-types.diff file all the time in those code removal PRs, maybe we should first add those return types in 7.0 (by applying the patch defined in this diff file) |
That's probably a good idea. |
This PR was merged into the 7.0 branch. Discussion ---------- [DoctrineBridge] Kill DBAL 2 support | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A DBAL 2 is dead and buried. Let's remove code that we needed to maintain DBAL 2. TODO: - [x] Deprecation layer for removed classes - [x] Check changes for possible backports to 5.4/6.4 - [x] #50576 - [x] #50579 - [x] #50575 Commits ------- eacfedf Kill DBAL 2 support
…here it is not used (GromNaN) This PR was merged into the 7.0 branch. Discussion ---------- [Doctrine][Serializer] Remove `ExpectDeprecationTrait` where it is not used | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | n/a This unused code has been left by #50558 and #50575. I think PHPStan should detect when the trait is imported but the method `expectDeprecation` is not used. Other PR for 6.4 #50828 Commits ------- 81972d3 Remove ExpectDeprecationTrait where it is not used
Removes deprecated code introduced in #49610