Completed
Push — master ( 114870...d35a30 )
by Žilvinas
03:56
created
tests/DocumentTypeGuesserTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
     public function testPdfGuess()
9 9
     {
10 10
         $obj = new DocumentTypeGuesser();
11
-        $type = $obj->guess(__DIR__ . '/data/document.pdf');
11
+        $type = $obj->guess(__DIR__.'/data/document.pdf');
12 12
 
13 13
         $this->assertSame('pdf', $type);
14 14
     }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         $obj = new DocumentTypeGuesser();
22 22
         $obj->setGuessers([]);
23
-        $type = $obj->guess(__DIR__ . '/data/document.pdf');
23
+        $type = $obj->guess(__DIR__.'/data/document.pdf');
24 24
 
25 25
         $this->assertSame(null, $type);
26 26
     }
Please login to merge, or discard this patch.
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.