summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json11
1 files changed, 7 insertions, 4 deletions
diff --git a/composer.json b/composer.json
index 5cd8e2c..8a1c0c5 100644
--- a/composer.json
+++ b/composer.json
@@ -16,11 +16,13 @@
"source": "https://github.com/phpmyadmin/motranslator"
},
"scripts": {
- "phpcbf": "phpcbf",
- "phpcs": "phpcs",
- "phpunit": "phpunit --color=always",
+ "phpcbf": "./vendor/bin/phpcbf",
+ "phpcs": "./vendor/bin/phpcs",
+ "phpstan": "./vendor/bin/phpstan analyse",
+ "phpunit": "./vendor/bin/phpunit --color=always",
"test": [
"@phpcs",
+ "@phpstan",
"@phpunit"
]
},
@@ -30,7 +32,8 @@
},
"require-dev": {
"phpunit/phpunit": "^7.4 || ^8 || ^9",
- "phpmyadmin/coding-standard": "^2.0"
+ "phpmyadmin/coding-standard": "^2.1.1",
+ "phpstan/phpstan": "^0.12.56"
},
"autoload": {
"psr-4": {