Skip to content

Add a deprecation note about CsrfProviderInterface #12642

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

Closed
wants to merge 1 commit into from

Conversation

picur
Copy link
Contributor

@picur picur commented Nov 29, 2014

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

Added deprication logging for CsrfProviderInterface implementations.

@picur picur changed the title Add a deprecation note about CsrfProviderInterface #12609 Add a deprecation note about CsrfProviderInterface Nov 29, 2014
@@ -33,6 +33,8 @@ class CsrfProviderAdapter implements CsrfTokenManagerInterface

public function __construct(CsrfProviderInterface $csrfProvider)
{
trigger_error('Deprecated since version 2.4, to be removed in Symfony 3.0.', E_USER_DEPRECATED);
Copy link
Member

Choose a reason for hiding this comment

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

Please tell which class+method is deprecated, and tell about any alternative if any

@picur picur force-pushed the 2.7 branch 2 times, most recently from d526c3c to 3281be0 Compare November 29, 2014 13:41
@nicolas-grekas
Copy link
Member

Cherry-picked in #12968, thanks

fabpot added a commit that referenced this pull request Dec 20, 2014
…cmorales)

This PR was merged into the 2.7 branch.

Discussion
----------

Deprecations

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12625, #12605, #12628, #12622, #12642, #12609, #12651, #12604,  #12607, #12667, #12648
| License       | MIT
| Doc PR        | -

Cherry-picking some pending PRs to make them move forward

Commits
-------

badf8fc [Form] Log deprecation of constants, fixes #12607 #12667
1d58df4 Fix deprecation notice on VirtualFormAwareIterator
e2a19ee Add a deprecation note about VirtualFormAwareIterator
ab4d9b8 Add a deprecation note about CsrfProviderInterface
cb70632 [HttpKernel] fix deprecation notice for Kernel::init()
b5a315d [HttpKernel] Added deprecated error to init()
70012c1 [Hackday] [2.7] Add a deprecation note about TypeTestCase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants