@@ -8,7 +8,7 @@ discard block |
||
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 |
||
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 | } |
@@ -83,7 +83,7 @@ |
||
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 |
@@ -82,7 +82,7 @@ |
||
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 |