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

Deprecated isSubmitted() before isValid() #1628

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

stakovicz
Copy link
Contributor

On avance sur #1616.

Suite à la remonté des logs deprecated :

User Deprecated: Call Form::isValid() with an unsubmitted form is deprecated since Symfony 3.2 and will throw an exception in 4.0. Use Form::isSubmitted() before Form::isValid() instead. {"exception":"[object

On vérifie que isSubmitted() soit bien appelé avant un isValid().

Avant cette PR il y avait 64 logs maintenant il y en a 28. Cela semble provenir des vendors.

@stakovicz stakovicz merged commit 0299660 into afup:master Feb 12, 2025
4 checks passed
@stakovicz stakovicz deleted the deprecated-is-valid branch February 14, 2025 14:30
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.

2 participants