@@ -43,7 +43,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -38,7 +38,7 @@ |
||
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, |