Completed
Push — master ( 114870...d35a30 )
by Žilvinas
03:56
created
tests/Validator/Constraints/PhoneValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
         $this->buildViolation('myMessage')
85 85
             ->setParameter('{{ value }}', '"'.$phone.'"')
86
-            ->setCode(defined('Isign\Validator\Constraints\Phone::REGEX_FAILED_ERROR')?Phone::REGEX_FAILED_ERROR:null)
86
+            ->setCode(defined('Isign\Validator\Constraints\Phone::REGEX_FAILED_ERROR') ? Phone::REGEX_FAILED_ERROR : null)
87 87
             ->assertRaised();
88 88
     }
89 89
 
Please login to merge, or discard this patch.
tests/Validator/Constraints/CodeValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         $this->buildViolation('myMessage')
84 84
             ->setParameter('{{ value }}', '"'.$code.'"')
85
-            ->setCode(defined('Isign\Validator\Constraints\Code::REGEX_FAILED_ERROR')?Code::REGEX_FAILED_ERROR:null)
85
+            ->setCode(defined('Isign\Validator\Constraints\Code::REGEX_FAILED_ERROR') ? Code::REGEX_FAILED_ERROR : null)
86 86
             ->assertRaised();
87 87
     }
88 88
 
Please login to merge, or discard this patch.