Passed
Pull Request — master (#10)
by Sergey
02:21
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/SavePrivatePersonTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
     {
35 35
         $sfx = $this->randomString(5);
36 36
         $counterparty = [
37
-            'FirstName' => 'Іван' . $sfx,
38
-            'MiddleName' => 'Іванович' . $sfx,
39
-            'LastName' => 'Іванов' . $sfx,
37
+            'FirstName' => 'Іван'.$sfx,
38
+            'MiddleName' => 'Іванович'.$sfx,
39
+            'LastName' => 'Іванов'.$sfx,
40 40
             'Phone' => rand(380000000000, 380000999999),
41 41
             'Email' => '[email protected]',
42 42
             'CounterpartyProperty' => 'Recipient',
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
         //update counterparty
50 50
         $counterparty['Ref'] = $actualResult['Ref'];
51
-        $counterparty['MiddleName'] = 'Петрович' . $sfx;
51
+        $counterparty['MiddleName'] = 'Петрович'.$sfx;
52 52
         $counterparty['CityRef'] = self::CITY_REF;
53 53
 
54 54
         $actualResult = $this->model->updatePrivatePerson($counterparty);
Please login to merge, or discard this patch.