summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json25
1 files changed, 18 insertions, 7 deletions
diff --git a/composer.json b/composer.json
index 094063d..00bcfef 100644
--- a/composer.json
+++ b/composer.json
@@ -40,11 +40,11 @@
}
],
"scripts": {
- "build": "./src/merge.php",
- "test": "./vendor/bin/phpunit",
- "phpstan": "./vendor/bin/phpstan",
- "phpcs": "./vendor/bin/phpcs --no-cache",
- "phpcbf": "./vendor/bin/phpcbf"
+ "build": "@php ./src/merge.php",
+ "test": "@php phpunit",
+ "phpstan": "@php phpstan",
+ "phpcs": "@php phpcs",
+ "phpcbf": "@php phpcbf"
},
"require": {
"php": "^7.1 || ^8.0"
@@ -52,7 +52,7 @@
"require-dev": {
"phpunit/phpunit": "^7 || ^8 || ^9",
"phpstan/phpstan": "^1.2",
- "wdes/coding-standard": "^3",
+ "wdes/coding-standard": "^3.2.1",
"swaggest/json-schema": "^0.12.29"
},
"autoload": {
@@ -67,5 +67,16 @@
},
"non-feature-branches": [
"update/*"
- ]
+ ],
+ "config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ }
+ },
+ "archive": {
+ "exclude": [
+ "/test",
+ "/phpunit.xml"
+ ]
+ }
}