@@ -211,16 +211,16 @@ |
||
| 211 | 211 | private function prepareOptions(array $options) |
| 212 | 212 | { |
| 213 | 213 | if (isset($options['sandbox'])) { |
| 214 | - $this->sandbox = (bool)$options['sandbox']; |
|
| 214 | + $this->sandbox = (bool) $options['sandbox']; |
|
| 215 | 215 | } |
| 216 | 216 | if (isset($options['apiKey'])) { |
| 217 | - $this->apiKey = (string)$options['apiKey']; |
|
| 217 | + $this->apiKey = (string) $options['apiKey']; |
|
| 218 | 218 | } |
| 219 | 219 | if (isset($options['url'])) { |
| 220 | - $this->url = (string)$options['url']; |
|
| 220 | + $this->url = (string) $options['url']; |
|
| 221 | 221 | } |
| 222 | 222 | if (isset($options['sandboxUrl'])) { |
| 223 | - $this->sandboxUrl = (string)$options['sandboxUrl']; |
|
| 223 | + $this->sandboxUrl = (string) $options['sandboxUrl']; |
|
| 224 | 224 | } |
| 225 | 225 | } |
| 226 | 226 | |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function __construct($message, ConstraintViolationList $violations) |
| 20 | 20 | { |
| 21 | - parent::__construct($message . ': ' . (string)$violations); |
|
| 21 | + parent::__construct($message . ': ' . (string) $violations); |
|
| 22 | 22 | |
| 23 | 23 | $this->violations = $violations; |
| 24 | 24 | } |
@@ -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()); |
@@ -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 | |