You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #867 Fixed the DateTime constraint deprecation (javiereguiluz)
This PR was merged into the master branch.
Discussion
----------
Fixed the DateTime constraint deprecation
This is a deprecation introduced by the upgrade to Symfony 4.2 in #865.
```
3x: Validating a \DateTimeInterface with "Symfony\Component\Validator\Constraints\DateTime" is deprecated since version 4.2. Use "Symfony\Component\Validator\Constraints\Type" instead or remove the constraint if the underlying model is already type hinted to \DateTimeInterface.
1x in BlogControllerTest::testAdminNewPost from App\Tests\Controller\Admin
1x in BlogControllerTest::testAdminEditPost from App\Tests\Controller\Admin
1x in BlogControllerTest::testNewComment from App\Tests\Controller
```
Commits
-------
aec924a Fixed the DateTime constraint deprecation
0 commit comments