Completed
Push — develop ( f46dcd...3c9b6d )
by Paulius
04:12
created
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/Document/Check.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /** @var string Possible values: pdf, adoc, mdoc */
22 22
     private $type;
23 23
 
24
-     /** @var string file path */
24
+        /** @var string file path */
25 25
     private $path;
26 26
 
27 27
     /**
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.
src/Sign/ScPrepareResult.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@
 block discarded – undo
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
 
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/MobileSignTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/Integration/ScSignTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
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(
Please login to merge, or discard this 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.