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

[Lock] remove deprecated code #32555

Merged

Conversation

Simperfit
Copy link
Contributor

@Simperfit Simperfit commented Jul 16, 2019

Q A
Branch? 5.0
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR None

We are removing the StoreInterface And the Factory deprecated in 4.4.

@Simperfit
Copy link
Contributor Author

Has to be rebased when #32558 is merged and 4.4 is in master.

src/Symfony/Component/Lock/Factory.php Outdated Show resolved Hide resolved
@Simperfit
Copy link
Contributor Author

Status: Needs Review

fabpot added a commit that referenced this pull request Jul 17, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[Lock] remove usage of the StoreInterface

| Q             | A
| ------------- | ---
| Branch?       |4.4
| Bug fix?      |  no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets |    <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | none  <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

Followup PR according to the review of @nicolas-grekas in #32555 (comment).

Commits
-------

9988844 [Lock] remove uusage of the StoreInterface
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Jul 17, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[Lock] remove usage of the StoreInterface

| Q             | A
| ------------- | ---
| Branch?       |4.4
| Bug fix?      |  no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets |    <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | none  <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

Followup PR according to the review of @nicolas-grekas in symfony/symfony#32555 (comment).

Commits
-------

9988844eb4 [Lock] remove uusage of the StoreInterface
@Simperfit Simperfit force-pushed the feature/lock-remove-store-interface branch from a37c0dc to 06e9a91 Compare July 17, 2019 19:33
@jderusse
Copy link
Member

CHANGELOG.md should be updated

@Simperfit Simperfit changed the title [Lock] remove StoreInterface in favor off PersistStoreInterface [Lock] remove deprecated code Jul 18, 2019
@Simperfit Simperfit force-pushed the feature/lock-remove-store-interface branch from 93d66c1 to 8ef13f3 Compare July 18, 2019 12:16
Copy link
Member

@jderusse jderusse left a comment

Choose a reason for hiding this comment

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

Should probably be merged AFTER #32492 which rename interfaces and remove methods used in this PR

@Simperfit Simperfit force-pushed the feature/lock-remove-store-interface branch from 8ef13f3 to 48ab1da Compare July 19, 2019 15:17
@Simperfit
Copy link
Contributor Author

PR Rebased.

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

#32555 (comment) needs to be fixed

@Simperfit
Copy link
Contributor Author

@chalasr @xabbuh done

@Simperfit Simperfit force-pushed the feature/lock-remove-store-interface branch from ebb0f1a to 1c6ebc6 Compare August 6, 2019 07:38
@Simperfit Simperfit force-pushed the feature/lock-remove-store-interface branch from 1c6ebc6 to 9b584fa Compare August 6, 2019 07:46
@fabpot fabpot force-pushed the feature/lock-remove-store-interface branch from 9b584fa to 008d135 Compare August 6, 2019 08:05
@fabpot
Copy link
Member

fabpot commented Aug 6, 2019

Thank you @Simperfit.

@fabpot fabpot merged commit 008d135 into symfony:master Aug 6, 2019
fabpot added a commit that referenced this pull request Aug 6, 2019
This PR was squashed before being merged into the 5.0-dev branch (closes #32555).

Discussion
----------

[Lock] remove deprecated code

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | none   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | None <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

We are removing the StoreInterface And the Factory deprecated in 4.4.

Commits
-------

008d135 [Lock] remove deprecated code
B-Galati pushed a commit to B-Galati/symfony that referenced this pull request Aug 6, 2019
B-Galati added a commit to B-Galati/symfony that referenced this pull request Aug 6, 2019
symfony-splitter pushed a commit to symfony/lock that referenced this pull request Aug 6, 2019
nicolas-grekas added a commit that referenced this pull request Aug 6, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[Lock] remove un-needed implements interface

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | null
| License       | MIT
| Doc PR        | not needed

following #32555 it does not look necessary to implement both `PersistingStoreInterface` and `BlockingStoreInterface`

Commits
-------

b8459f7 [Lock] remove un-needed implements interface
nicolas-grekas added a commit that referenced this pull request Aug 8, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[Lock] remove deprecated waitAndSave() methods

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | missed in #32555
| License       | MIT
| Doc PR        |

Commits
-------

fa18765 remove deprecated waitAndSave() methods
m-vo pushed a commit to m-vo/symfony that referenced this pull request Sep 20, 2019
m-vo pushed a commit to m-vo/symfony that referenced this pull request Sep 20, 2019
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.

10 participants