From 85d52fe6b86857e2cd6d60e28bd9bf663e622f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Tue, 1 Mar 2016 11:48:10 +0100 Subject: [PATCH] Use IsTrue instead of True class to be PHP7 compliant --- lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php b/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php index 363143b745..136b4e7e76 100644 --- a/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php +++ b/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php @@ -62,7 +62,7 @@ class PhraseaRegisterForm extends AbstractType 'label' => 'Terms of Use', 'mapped' => false, "constraints" => [ - new Assert\True([ + new Assert\IsTrue([ "message" => "Please accept the Terms and conditions in order to register." ])], ]);