summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-10 07:48:13 +0200
committerRemi Collet <remi@remirepo.net>2020-04-10 07:48:13 +0200
commit8a3e46fd25277f870dc3b4210a3e81005a75bc0a (patch)
treeaab0c2648be8f39dc379b4a239e334d4da6b9f18 /composer.json
parent2e4bcb6ddebc0974ac2a0829979ebd82eaf7e1c0 (diff)
update to 0.12.0
raise dependency on PHP 7.2 switch to cakephp v4 switch to phpunit v8
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json10
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"]