diff --git a/composer.json b/composer.json index 650af89..8b7df74 100644 --- a/composer.json +++ b/composer.json @@ -36,10 +36,10 @@ "ext-dbase": "For dbf files parsing" }, "require-dev": { - "phpstan/phpstan": "^1.10", "phpmyadmin/coding-standard": "^3.0.0", + "phpstan/phpstan": "^1.10", "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^7.4 || ^8 || ^9" + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.3" }, "autoload": { "psr-4": { diff --git a/tests/ShapeFileTest.php b/tests/ShapeFileTest.php index 9697d6a..02ab98d 100644 --- a/tests/ShapeFileTest.php +++ b/tests/ShapeFileTest.php @@ -61,7 +61,7 @@ public function testLoad(string $filename, int $records, ?int $parts): void * * @return array */ - public function provideFiles(): array + public static function provideFiles(): array { return [ [ @@ -141,7 +141,7 @@ public function testGetDBFHeader(): void * * @return array */ - public function provideErrorFiles(): array + public static function provideErrorFiles(): array { $result = [ ['data/no-shp.*'], @@ -406,7 +406,7 @@ public function testMeasureShapeSaveLoad(int $type, array $points): void * * @return array */ - public function shapes(): array + public static function shapes(): array { return [ [ diff --git a/tests/UtilTest.php b/tests/UtilTest.php index 7fce743..4a24275 100644 --- a/tests/UtilTest.php +++ b/tests/UtilTest.php @@ -51,7 +51,7 @@ public function testLoadData(string $type, $data, $expected): void * * @return array */ - public function data(): array + public static function data(): array { return [ [