Test Failed
Push — migrate-to-pest ( 36cb3f )
by Peter
13:33
created
src/FakeCar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
         $map = "0123456789X";
206 206
         $weights = "8765432X098765432";
207 207
         $sum = 0;
208
-        for ($i=0; $i < 17; $i++) {
208
+        for ($i = 0; $i < 17; $i++) {
209 209
             $sum += self::transliterate(substr($vin, $i, 1))
210 210
                     * stripos($map, $weights[$i]);
211 211
         }
Please login to merge, or discard this patch.
src/FakeCarDataProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     public function getVehicleModel(): string;
9 9
     public function getBrandsWithModels(): array;
10 10
     public function getVehicleType(): string;
11
-    public function getVehicleFuelType(): string|array;
11
+    public function getVehicleFuelType(): string | array;
12 12
     public function getVehicleDoorCount(): int;
13 13
     public function getVehicleSeatCount(): int;
14 14
     public function getVehicleProperties(int $count = 0): array;
Please login to merge, or discard this patch.
src/FakeCarDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * @throws Exception
50 50
      */
51
-    public function getVehicleFuelType(int $count = 1): string|array
51
+    public function getVehicleFuelType(int $count = 1): string | array
52 52
     {
53 53
         return FakeCarHelper::getArrayData($this->vehicleData::$vehicleFuelTypes, $count);
54 54
     }
Please login to merge, or discard this patch.
src/FakeCarHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      */
159 159
     public static function getRangeWithUnit(array $range, string $unit, int $decimals = 0): string
160 160
     {
161
-        return static::getRange($range, $decimals) . ' ' . $unit;
161
+        return static::getRange($range, $decimals).' '.$unit;
162 162
     }
163 163
 
164 164
 }
Please login to merge, or discard this patch.