Passed
Pull Request — master (#8)
by Sergey
02:19
created
tests/Unit/ConnectionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 class ConnectionTest extends TestCase
23 23
 {
24 24
     private Connection $object;
25
-    private Client|MockObject $clientMock;
25
+    private Client | MockObject $clientMock;
26 26
 
27 27
     /**
28 28
      * @throws Exception
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @return ResponseInterface|MockObject
93 93
      * @throws Exception
94 94
      */
95
-    private function createResponse(string $content): ResponseInterface|MockObject
95
+    private function createResponse(string $content): ResponseInterface | MockObject
96 96
     {
97 97
         $response = $this->createMock(ResponseInterface::class);
98 98
         $response->method('getStatusCode')->willReturn(200);
Please login to merge, or discard this patch.
src/Models/Address.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 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
         ]);
Please login to merge, or discard this patch.
tests/Integration/Models/Counterparty/SaveTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
     {
32 32
         $sfx = $this->randomString(5);
33 33
         $counterparty = [
34
-            'FirstName' => 'Іван' . $sfx,
35
-            'MiddleName' => 'Іванович' . $sfx,
36
-            'LastName' => 'Іванов' . $sfx,
34
+            'FirstName' => 'Іван'.$sfx,
35
+            'MiddleName' => 'Іванович'.$sfx,
36
+            'LastName' => 'Іванов'.$sfx,
37 37
             'Phone' => rand(380_000_000_000, 380_000_999_999),
38 38
             'Email' => '[email protected]',
39 39
             'CounterpartyType' => 'PrivatePerson',
Please login to merge, or discard this patch.