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

Replace form_enctype(form) with form_start(form). #4603

Merged
merged 1 commit into from
Dec 7, 2014

Conversation

xelaris
Copy link
Contributor

@xelaris xelaris commented Dec 7, 2014

Q A
Doc fix? yes
New docs? no
Applies to >=2.3
Fixed tickets

Since form_enctype(form) is deprecated since 2.3 form_start(form) should be used.

Since form_enctype(form) is deprecated since 2.3 form_start(form) should be used.
@wouterj
Copy link
Member

wouterj commented Dec 7, 2014

Thanks for the PR, @xelaris! It looks like a complete valid change (after the best practices were created, the authors of it wanted to undeprecate form_enctype, but after a discussion they decided to promote form_start and form_end instead).

I wonder why Ryan didn't update this one in #4465 , maybe he overlooked this example? @weaverryan can you please merge this PR if you think this change is correct?

@weaverryan
Copy link
Member

Thanks Alexander! Yea, good thinking about checking Wouter - but I this was on accident - don't know how I missed it :).

@weaverryan weaverryan merged commit 21d69eb into symfony:2.3 Dec 7, 2014
weaverryan added a commit that referenced this pull request Dec 7, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

Replace form_enctype(form) with form_start(form).

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | >=2.3
| Fixed tickets |

Since form_enctype(form) is deprecated since 2.3 form_start(form) should be used.

Commits
-------

21d69eb Replace form_enctype(form) with form_start(form).
wouterj added a commit that referenced this pull request Jun 6, 2015
…amodiere)

This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Replace deprecated form_enctype by form_start

Deprecated since 2.3. See [form chapter](http://symfony.com/doc/2.3/book/forms.html#rendering-the-form)

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | #4603

Commits
-------

f771d15 Replace deprecated form_enctype by form_start
@xelaris xelaris deleted the patch-2 branch October 31, 2022 12:17
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.

3 participants