summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-04-26 15:13:25 +0200
committerRemi Collet <remi@php.net>2022-04-26 15:13:25 +0200
commit7cc3e584a1209d647fcfab617ab07240fdbb144b (patch)
tree286dabe6dff5b27f8f59043178aaba76fa5ac0ed /composer.json
parent8523d9487d2de3953bb0b6e2f91aec8eb12bb70e (diff)
update to 5.3.0
add weak dependency on apcu extension allow Symfony 6
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"
}
}