Skip to content

Conversation

@neoshadybeat
Copy link
Contributor

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

Copy link
Member

Choose a reason for hiding this comment

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

The first POST_SUBMIT should be POST_BIND.

@neoshadybeat
Copy link
Contributor Author

@xabbuh thanks, I'll change It

@neoshadybeat neoshadybeat changed the title [Form] [Hackday] [2.7] Deprecate PRE_BIND, BIND and POST_BIND form events #1260... [Form] [Hackday] [2.7] Deprecate PRE_BIND, BIND and POST_BIND form events Nov 29, 2014
Copy link
Member

Choose a reason for hiding this comment

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

please inline, no private

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@stof
Copy link
Member

stof commented Dec 4, 2014

This is broken, because the new constants have the same values than the deprecated ones, so you will always trigger the deprecation warning here. 👎

@timglabisch
Copy link

good catch @stof it's broken. 👎

@fabpot fabpot added the Form label Dec 7, 2014
@nicolas-grekas nicolas-grekas mentioned this pull request Dec 15, 2014
@nicolas-grekas
Copy link
Member

Closing: by using PHP lazy loading of constants values, #12968 adds specific enough deprecation notices.

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.

6 participants