Passed
Push — master ( 3eedbe...821bb4 )
by Sergey
57s queued 21s
created
tests/Integration/Models/InternetDocument/CrudTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             }
125 125
             $attemptsNotExceeded = $attempt <= 3;
126 126
             if ($attemptsNotExceeded) {
127
-                printf(PHP_EOL . 'Attempt %d to delete document failed.' . PHP_EOL, $attempt);
127
+                printf(PHP_EOL.'Attempt %d to delete document failed.'.PHP_EOL, $attempt);
128 128
                 sleep(5 * $attempt);
129 129
                 $this->deleteDocument($ref, ++$attempt);
130 130
             } else {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     private function gulp(): void
183 183
     {
184
-        $gulp = (int)getenv('GULP');
184
+        $gulp = (int) getenv('GULP');
185 185
 
186 186
         if ($gulp) {
187 187
             sleep($gulp);
Please login to merge, or discard this patch.
src/Models/Address.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             'Ref' => $filters['Ref'] ?? null,
136 136
             'RegionRef' => $filters['RegionRef'] ?? null,
137 137
             'FindByString' => $filters['FindByString'] ?? null,
138
-            'Warehouse' => (int)$warehouse,
138
+            'Warehouse' => (int) $warehouse,
139 139
             'Page' => $page,
140 140
             'Limit' => $limit,
141 141
         ]);
@@ -153,8 +153,8 @@  discard block
 block discarded – undo
153 153
     public function getCities(int $page = 1, int $limit = PHP_INT_MAX, string $search = ''): array
154 154
     {
155 155
         $params = array_filter([
156
-            'Page' => (string)$page,
157
-            'Limit' => (string)$limit,
156
+            'Page' => (string) $page,
157
+            'Limit' => (string) $limit,
158 158
             'FindByString' => $search,
159 159
         ]);
160 160
         return $this->connection->post(self::MODEL_NAME, 'getCities', $params);
Please login to merge, or discard this patch.
tests/Integration/Models/Common/GetBackwardDeliveryCargoTypesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     private function gulp(): void
44 44
     {
45
-        $gulp = (int)getenv('GULP');
45
+        $gulp = (int) getenv('GULP');
46 46
 
47 47
         if ($gulp) {
48 48
             sleep($gulp);
Please login to merge, or discard this patch.