Skip to content

Document the validator's switch to PSR-6 #12276

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

Merged

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Sep 5, 2019

This PR documents symfony/symfony#33459 and fixes #12275.

@derrabus derrabus requested a review from xabbuh as a code owner September 5, 2019 13:02
@derrabus derrabus changed the base branch from master to 4.4 September 5, 2019 13:05
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Sep 5, 2019
…rrabus)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[Validator] Removed CacheInterface in favor of PSR-6

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #33414
| License       | MIT
| Doc PR        | symfony/symfony-docs#12276

This PR removes the deprecation layer of #33459.

Commits
-------

34b141c [Validator] Removed CacheInterface in favor of PSR-6.
@OskarStark
Copy link
Contributor

Hi 👋 and thanks for your PR.
The only thing which is missing from my side is a versionadded directive.

@derrabus derrabus force-pushed the improvement/psr6-validator-cache branch from 737b62a to 2f010b7 Compare September 5, 2019 17:17
@derrabus
Copy link
Member Author

derrabus commented Sep 5, 2019

Thank you for your review, @OskarStark. I've added that directive, but I'm a bit unsure about the wording. Should I somehow mention the old behavior as well or do we expect users to look this up in the older branch of the documentation should they need it?

@xabbuh xabbuh added this to the 4.4 milestone Sep 5, 2019
@OskarStark
Copy link
Contributor

We could, but to me it’s ok to just mention the “as is”/“current recommendation” 👍🏻🤞🏻

Thanks

@javiereguiluz
Copy link
Member

Thank you Alexander!

javiereguiluz added a commit that referenced this pull request Sep 6, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

Document the validator's switch to PSR-6

This PR documents symfony/symfony#33459 and fixes #12275.

Commits
-------

2f010b7 Document the validator's switch to PSR-6.
@javiereguiluz javiereguiluz merged commit 2f010b7 into symfony:4.4 Sep 6, 2019
@derrabus derrabus deleted the improvement/psr6-validator-cache branch September 6, 2019 10: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.

5 participants