summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json24
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
}
}