From 8a3e46fd25277f870dc3b4210a3e81005a75bc0a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Apr 2020 07:48:13 +0200 Subject: update to 0.12.0 raise dependency on PHP 7.2 switch to cakephp v4 switch to phpunit v8 --- composer.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index dbb6392..c61d7a7 100644 --- a/composer.json +++ b/composer.json @@ -25,15 +25,15 @@ "homepage": "https://github.com/cakephp/phinx/graphs/contributors" }], "require": { - "php": ">=5.6", - "cakephp/collection": "^3.7", - "cakephp/database": "^3.7", + "php": ">=7.2", + "cakephp/collection": "^4.0", + "cakephp/database": "^4.0", "symfony/console": "^3.4|^4.0|^5.0", "symfony/config": "^3.4|^4.0|^5.0" }, "require-dev": { "ext-json": "*", - "phpunit/phpunit": ">=5.7,<8.0", + "phpunit/phpunit": "^8.5", "sebastian/comparator": ">=1.2.3", "cakephp/cakephp-codesniffer": "^3.0", "symfony/yaml": "^3.4|^4.0|^5.0" @@ -59,6 +59,8 @@ ], "cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/", "cs-fix": "phpcbf --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/", + "stan": "phpstan analyse src/", + "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^0.12 && mv composer.backup composer.json", "test": "phpunit --colors=always" }, "bin": ["bin/phinx"] -- cgit