@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | public function testGetAction() |
| 40 | 40 | { |
| 41 | - $this->assertSame('signing/'.self::TOKEN.'/sign', $this->query->getAction()); |
|
| 41 | + $this->assertSame('signing/' . self::TOKEN . '/sign', $this->query->getAction()); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | public function testGetMethod() |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | public function testGetAction() |
| 32 | 32 | { |
| 33 | - $this->assertSame('signing/'.self::TOKEN.'/status', $this->query->getAction()); |
|
| 33 | + $this->assertSame('signing/' . self::TOKEN . '/status', $this->query->getAction()); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | public function testGetMethod() |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | public function testGetAction() |
| 32 | 32 | { |
| 33 | - $this->assertSame('file/'.self::TOKEN.'/delete', $this->query->getAction()); |
|
| 33 | + $this->assertSame('file/' . self::TOKEN . '/delete', $this->query->getAction()); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | public function testGetMethod() |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $this->query = new Check( |
| 19 | 19 | self::TYPE, |
| 20 | - __DIR__.'/../../data/document.pdf' |
|
| 20 | + __DIR__ . '/../../data/document.pdf' |
|
| 21 | 21 | ); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | public function testGetAction() |
| 32 | 32 | { |
| 33 | - $this->assertSame('file/upload/'.self::TOKEN.'/status', $this->query->getAction()); |
|
| 33 | + $this->assertSame('file/upload/' . self::TOKEN . '/status', $this->query->getAction()); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | public function testGetMethod() |
@@ -80,8 +80,8 @@ |
||
| 80 | 80 | $this->validator->validate($phone, $constraint); |
| 81 | 81 | |
| 82 | 82 | $this->buildViolation('myMessage') |
| 83 | - ->setParameter('{{ value }}', '"'.$phone.'"') |
|
| 84 | - ->setCode(defined('Dokobit\Gateway\Validator\Constraints\Phone::REGEX_FAILED_ERROR')?Phone::REGEX_FAILED_ERROR:null) |
|
| 83 | + ->setParameter('{{ value }}', '"' . $phone . '"') |
|
| 84 | + ->setCode(defined('Dokobit\Gateway\Validator\Constraints\Phone::REGEX_FAILED_ERROR') ?Phone::REGEX_FAILED_ERROR : null) |
|
| 85 | 85 | ->assertRaised(); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -79,8 +79,8 @@ |
||
| 79 | 79 | $this->validator->validate($code, $constraint); |
| 80 | 80 | |
| 81 | 81 | $this->buildViolation('myMessage') |
| 82 | - ->setParameter('{{ value }}', '"'.$code.'"') |
|
| 83 | - ->setCode(defined('Dokobit\Gateway\Validator\Constraints\Code::REGEX_FAILED_ERROR')?Code::REGEX_FAILED_ERROR:null) |
|
| 82 | + ->setParameter('{{ value }}', '"' . $code . '"') |
|
| 83 | + ->setCode(defined('Dokobit\Gateway\Validator\Constraints\Code::REGEX_FAILED_ERROR') ?Code::REGEX_FAILED_ERROR : null) |
|
| 84 | 84 | ->assertRaised(); |
| 85 | 85 | } |
| 86 | 86 | |