summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json22
1 files changed, 15 insertions, 7 deletions
diff --git a/composer.json b/composer.json
index 8a1c0c5..2536f58 100644
--- a/composer.json
+++ b/composer.json
@@ -16,10 +16,10 @@
"source": "https://github.com/phpmyadmin/motranslator"
},
"scripts": {
- "phpcbf": "./vendor/bin/phpcbf",
- "phpcs": "./vendor/bin/phpcs",
- "phpstan": "./vendor/bin/phpstan analyse",
- "phpunit": "./vendor/bin/phpunit --color=always",
+ "phpcbf": "@php phpcbf",
+ "phpcs": "@php phpcs",
+ "phpstan": "@php phpstan",
+ "phpunit": "@php phpunit",
"test": [
"@phpcs",
"@phpstan",
@@ -28,12 +28,12 @@
},
"require": {
"php": "^7.1 || ^8.0",
- "symfony/expression-language": "^4.0 || ^5.0"
+ "symfony/expression-language": "^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
"phpunit/phpunit": "^7.4 || ^8 || ^9",
- "phpmyadmin/coding-standard": "^2.1.1",
- "phpstan/phpstan": "^0.12.56"
+ "phpmyadmin/coding-standard": "^3.0.0",
+ "phpstan/phpstan": "^1.4.6"
},
"autoload": {
"psr-4": {
@@ -44,5 +44,13 @@
"psr-4": {
"PhpMyAdmin\\MoTranslator\\Tests\\": "tests"
}
+ },
+ "config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ }
+ },
+ "suggest": {
+ "ext-apcu": "Needed for ACPu-backed translation cache"
}
}