From 1d23deffbb70653be8e48750de4ac3012468ce09 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Mar 2020 10:23:46 +0100 Subject: update to 5.0.0 rename to php-phpmyadmin-motranslator5 move to /usr/share/php/PhpMyAdmin/MoTranslator5 raise dependency on PHP 7.1 raise dependency on Symfony 4 and allow Symfony 5 switch to phpunit8 --- composer.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index f7726f8..b7f75a7 100644 --- a/composer.json +++ b/composer.json @@ -15,14 +15,24 @@ "issues": "https://github.com/phpmyadmin/motranslator/issues", "source": "https://github.com/phpmyadmin/motranslator" }, + "scripts": { + "phpcbf": "phpcbf", + "phpcs": "phpcs", + "phpunit": "phpunit --color=always", + "test": [ + "@phpcs", + "@phpunit" + ] + }, "require": { - "php": ">=5.3.0", - "symfony/expression-language": "^4.0 || ^3.2 || ^2.8" + "php": "^7.1", + "symfony/expression-language": "^4.0 || ^5.0" }, "require-dev": { - "apigen/apigen": "^4.1", + "sami/sami": "^4.0", "phpunit/php-code-coverage": "*", - "phpunit/phpunit": "~4.8 || ~5.7 || ~6.5" + "phpunit/phpunit": "^7.4 || ^8", + "phpmyadmin/coding-standard": "^1.0" }, "autoload": { "psr-4": { -- cgit