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

[Form] Remove paragraph on legacy_error_messages config #17478

Merged
merged 1 commit into from
Dec 9, 2022
Merged

[Form] Remove paragraph on legacy_error_messages config #17478

merged 1 commit into from
Dec 9, 2022

Conversation

manuelkiessling
Copy link
Contributor

As the legacy_error_messages config node is deprecated since 6.2 (see symfony/symfony#47598), it should probably not be mentioned in the docs any longer.

As the `legacy_error_messages` config node is deprecated since 6.2 (see symfony/symfony#47598), it should probably not be mentioned in the docs any longer.
@carsonbot carsonbot added this to the 6.2 milestone Nov 29, 2022
@manuelkiessling manuelkiessling changed the title Remove paragraph on legacy_error_messages config [Form] Remove paragraph on legacy_error_messages config Nov 29, 2022
@OskarStark OskarStark changed the title [Form] Remove paragraph on legacy_error_messages config [Form] Remove paragraph on legacy_error_messages config Nov 30, 2022
@OskarStark
Copy link
Contributor

Not sure about removing it in 6.2 or add:

.. deprecated::

    Using ``legacy_error_messages`` is deprecated since Symfony 6.2.

WDYT @symfony/team-symfony-docs ?

@weaverryan
Copy link
Member

I'm ok with fully removing it. If you search for this specific option (because you see it in your code or some blog post), you should still, in theory, find the result in an older version of the docs.

@javiereguiluz
Copy link
Member

I was divided, but at the end I opted for doing what Ryan said. This is a very uncommon config option anyways. Thanks.

@javiereguiluz
Copy link
Member

I was going to merge this ... but I can't because of this error:

Unable to commit branch pull/17473

@OskarStark can you try to merge this? Thanks

@OskarStark
Copy link
Contributor

Thank you Manuel.

@OskarStark OskarStark merged commit ac50348 into symfony:6.2 Dec 9, 2022
@OskarStark
Copy link
Contributor

It worked @javiereguiluz

javiereguiluz added a commit that referenced this pull request Sep 25, 2024
This PR was merged into the 7.1 branch.

Discussion
----------

[Form] Remove legacy message

IIUC what happened with #17478 and [related code PR](symfony/symfony#47598), legacy invalid message refer to something which no longer exists

Commits
-------

6516a9b form/remove-legacy-message
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