@@ -21,9 +21,9 @@ |
||
| 21 | 21 | public function getFields() |
| 22 | 22 | { |
| 23 | 23 | return [ |
| 24 | - 'status', |
|
| 25 | - 'dtbs', |
|
| 26 | - 'token' |
|
| 24 | + 'status', |
|
| 25 | + 'dtbs', |
|
| 26 | + 'token' |
|
| 27 | 27 | ]; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | $this->query = new Check( |
| 21 | 21 | self::TYPE, |
| 22 | - __DIR__.'/../data/document.pdf' |
|
| 22 | + __DIR__ . '/../data/document.pdf' |
|
| 23 | 23 | ); |
| 24 | 24 | } |
| 25 | 25 | |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | { |
| 15 | 15 | $this->client->get(new Check( |
| 16 | 16 | null, |
| 17 | - __DIR__.'/../data/document.pdf' |
|
| 17 | + __DIR__ . '/../data/document.pdf' |
|
| 18 | 18 | )); |
| 19 | 19 | } |
| 20 | 20 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | { |
| 42 | 42 | /** @var StatusResultInterface $statusResult */ |
| 43 | 43 | $statusResult = $this->client->get( |
| 44 | - new Check('pdf', __DIR__.'/../data/document.pdf') |
|
| 44 | + new Check('pdf', __DIR__ . '/../data/document.pdf') |
|
| 45 | 45 | ); |
| 46 | 46 | |
| 47 | 47 | $this->assertSame(StatusResultInterface::STATUS_OK, $statusResult->getStatus()); |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | 'reason' => 'Dokumento asirašymas', |
| 89 | 89 | 'location' => 'Vilnius', |
| 90 | 90 | 'files' => [ |
| 91 | - __DIR__ . '/../data/document.pdf', |
|
| 91 | + __DIR__ . '/../data/document.pdf', |
|
| 92 | 92 | ] |
| 93 | 93 | ]; |
| 94 | 94 | } |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | class ScSignTest extends TestCase |
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | - * @expectedException Isign\Exception\QueryValidator |
|
| 14 | - */ |
|
| 13 | + * @expectedException Isign\Exception\QueryValidator |
|
| 14 | + */ |
|
| 15 | 15 | public function testRequiredParams() |
| 16 | 16 | { |
| 17 | 17 | $this->client->get(new ScPrepare( |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | { |
| 76 | 76 | return [ |
| 77 | 77 | 'files' => [ |
| 78 | - __DIR__.'/../data/document.pdf', |
|
| 78 | + __DIR__ . '/../data/document.pdf', |
|
| 79 | 79 | ], |
| 80 | 80 | 'contact' => 'Ponas Testuotojas', |
| 81 | 81 | 'reason' => 'Pasirašymas', |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | { |
| 51 | 51 | $method = new Mobile('pdf', '+370xxxxxxxx', 'xxxxxxxxxxx', [ |
| 52 | 52 | 'files' => [ |
| 53 | - __DIR__.'/../data/document.pdf' |
|
| 53 | + __DIR__ . '/../data/document.pdf' |
|
| 54 | 54 | ] |
| 55 | 55 | ]); |
| 56 | 56 | $result = $method->getFields(); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | self::LANGUAGE, |
| 47 | 47 | [ |
| 48 | 48 | 'files' => [ |
| 49 | - __DIR__.'/../data/document.pdf' |
|
| 49 | + __DIR__ . '/../data/document.pdf' |
|
| 50 | 50 | ] |
| 51 | 51 | ] |
| 52 | 52 | ); |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $this->validator->validate($code, $constraint); |
| 82 | 82 | |
| 83 | 83 | $this->buildViolation('myMessage') |
| 84 | - ->setParameter('{{ value }}', '"'.$code.'"') |
|
| 84 | + ->setParameter('{{ value }}', '"' . $code . '"') |
|
| 85 | 85 | ->assertRaised(); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | $this->validator->validate($phone, $constraint); |
| 83 | 83 | |
| 84 | 84 | $this->buildViolation('myMessage') |
| 85 | - ->setParameter('{{ value }}', '"'.$phone.'"') |
|
| 85 | + ->setParameter('{{ value }}', '"' . $phone . '"') |
|
| 86 | 86 | ->assertRaised(); |
| 87 | 87 | } |
| 88 | 88 | |