Completed
Push — master ( d8550b...8248af )
by Maurício
21s queued 16s
created
tests/ShapeFileTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @dataProvider provideFiles
45 45
      */
46
-    public function testLoad(string $filename, int $records, int|null $parts): void
46
+    public function testLoad(string $filename, int $records, int | null $parts): void
47 47
     {
48 48
         $shp = new ShapeFile(ShapeType::Point);
49 49
         $shp->loadFromFile($filename);
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      */
222 222
     public function testCreate(): void
223 223
     {
224
-        if (! ShapeFile::supportsDbase()) {
224
+        if (!ShapeFile::supportsDbase()) {
225 225
             self::markTestSkipped('dbase extension missing');
226 226
         }
227 227
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function testDelete(): void
239 239
     {
240
-        if (! ShapeFile::supportsDbase()) {
240
+        if (!ShapeFile::supportsDbase()) {
241 241
             self::markTestSkipped('dbase extension missing');
242 242
         }
243 243
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      */
260 260
     public function testAdd(): void
261 261
     {
262
-        if (! ShapeFile::supportsDbase()) {
262
+        if (!ShapeFile::supportsDbase()) {
263 263
             self::markTestSkipped('dbase extension missing');
264 264
         }
265 265
 
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
 
343 343
         $items = ['numparts', 'numpoints'];
344 344
         foreach ($items as $item) {
345
-            if (! isset($record->shpData[$item])) {
345
+            if (!isset($record->shpData[$item])) {
346 346
                 continue;
347 347
             }
348 348
 
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
             -1,
410 410
             $shp->getIndexFromDBFData('CNTRY_NAME', 'nonexisting'),
411 411
         );
412
-        if (! ShapeFile::supportsDbase()) {
412
+        if (!ShapeFile::supportsDbase()) {
413 413
             return;
414 414
         }
415 415
 
Please login to merge, or discard this patch.
tests/UtilTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      *
39 39
      * @dataProvider data
40 40
      */
41
-    public function testLoadData(string $type, string|false $data, mixed $expected): void
41
+    public function testLoadData(string $type, string | false $data, mixed $expected): void
42 42
     {
43 43
         self::assertEquals(
44 44
             $expected,
Please login to merge, or discard this patch.