diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 10 |
1 files changed, 6 insertions, 4 deletions
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"] |