diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-08 08:04:03 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-08 08:04:03 +0100 |
commit | cfab1e05752f94c136e2ead20dbe4fefcc644ec1 (patch) | |
tree | 10daa89876b466dadc6d0e0f5d5650e403b153be /composer.json | |
parent | dea489a5941a5b561edd47ea750687ae4dc84e15 (diff) |
update to 3.0.1
rename to php-phpmyadmin-shapefile3
install in /usr/share/php/PhpMyAdmin/ShapeFile3
raise dependency on PHP 7.1
switch to phpunit9
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/composer.json b/composer.json index b4968ec..28ffbce 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "phpmyadmin/shapefile", "description": "ESRI ShapeFile library for PHP", - "license": "GPL-2.0+", + "license": "GPL-2.0-or-later", "keywords": ["shapefile", "shp", "geo", "geospatial", "dbf", "ESRI", "shape"], "homepage": "https://github.com/phpmyadmin/shapefile", "authors": [ @@ -15,19 +15,35 @@ "issues": "https://github.com/phpmyadmin/shapefile/issues", "source": "https://github.com/phpmyadmin/shapefile" }, + "scripts": { + "phpcbf": "phpcbf", + "phpcs": "phpcs", + "phpstan": "phpstan analyse", + "phpunit": "phpunit --color=always", + "test": [ + "@phpcs", + "@phpstan", + "@phpunit" + ] + }, "require": { - "php": ">=5.4.0" + "php": "^7.1 || ^8.0" }, "suggest": { "ext-dbase": "For dbf files parsing" }, "require-dev": { - "phpunit/php-code-coverage": "*", - "phpunit/phpunit": "~4.8 || ~5.7" + "phpstan/phpstan": "^0.12.37", + "phpmyadmin/coding-standard": "^2.1.1", + "phpstan/phpstan-phpunit": "^0.12.6", + "phpunit/phpunit": "^7.4 || ^8 || ^9" }, "autoload": { "psr-4": { "PhpMyAdmin\\ShapeFile\\": "src" } + }, + "config":{ + "sort-packages": true } } |