Completed
Push — develop ( 3c9b6d...449012 )
by Žilvinas
04:38
created
src/Client.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -161,10 +161,10 @@  discard block
 block discarded – undo
161 161
         }
162 162
 
163 163
         if ($token) {
164
-            $action .= '/' . $token;
164
+            $action .= '/'.$token;
165 165
         }
166 166
 
167
-        return $url . '/' . $action . '.json';
167
+        return $url.'/'.$action.'.json';
168 168
     }
169 169
 
170 170
     /**
@@ -211,16 +211,16 @@  discard block
 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.
tests/Integration/ArchiveTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
         /** @var StatusResultInterface $statusResult */
16 16
         $statusResult = $this->client->get(new Archive(
17 17
             'pdf',
18
-            __DIR__ . '/../data/signed.pdf',
18
+            __DIR__.'/../data/signed.pdf',
19 19
             []
20 20
         ));
21 21
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         /** @var StatusResultInterface $statusResult */
49 49
         $statusResult = $this->client->get(new Archive(
50 50
             'pdf',
51
-            __DIR__ . '/../data/signed.pdf',
51
+            __DIR__.'/../data/signed.pdf',
52 52
             [
53 53
                 ['id' => 'Signature1']
54 54
             ]
Please login to merge, or discard this patch.
tests/Integration/MobileSignTest.php 1 patch
Spacing   +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 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Isign\Sign\Sc;
7 7
 use Isign\Sign\ScPrepare;
8 8
 use Isign\Sign\ScPrepareResult;
9
-use Isign\StatusResultInterface;
10 9
 
11 10
 class ScSignTest extends TestCase
12 11
 {
Please login to merge, or discard this patch.
src/Sign/ScPrepareResult.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
     public function getFields()
28 28
     {
29 29
         return [
30
-           'status',
31
-           'algorithm',
32
-           'token',
33
-           'dtbs_hash',
34
-           'dtbs',
30
+            'status',
31
+            'algorithm',
32
+            'token',
33
+            'dtbs_hash',
34
+            'dtbs',
35 35
         ];
36 36
     }
37 37
 
Please login to merge, or discard this patch.