Completed
Push — develop ( f46dcd...3c9b6d )
by Paulius
04:12
created
tests/Http/GuzzleClientAdapterTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use GuzzleHttp\Exception\ClientException;
5 5
 use Isign\Http\GuzzleClientAdapter;
6
-use Psr\Log\LoggerAwareInterface;
7 6
 
8 7
 class GuzzleClientAdapterTest extends \PHPUnit_Framework_TestCase
9 8
 {
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -211,16 +211,16 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Exception/QueryValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/Document/CheckTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Integration/CheckTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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());
Please login to merge, or discard this patch.
tests/Integration/ScSignTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
tests/Sign/MobileTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
tests/Sign/ScPrepareTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
         );
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
@@ -81,7 +81,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.