summaryrefslogtreecommitdiffstats
path: root/composer-chronos.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-12-03 13:41:26 +0100
committerRemi Collet <remi@remirepo.net>2019-12-03 13:41:26 +0100
commite175bec87e4952d0af3873e35db751c492df3ce6 (patch)
tree92748dcaf42d8272bbaeee6d9cebcf056afc8271 /composer-chronos.json
parent21b4eba49b2ab302ccf56d67facbb86325fe56b2 (diff)
use Chronos 1.3.0
Diffstat (limited to 'composer-chronos.json')
-rw-r--r--composer-chronos.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/composer-chronos.json b/composer-chronos.json
index 6aa3f87..d63b284 100644
--- a/composer-chronos.json
+++ b/composer-chronos.json
@@ -26,14 +26,13 @@
"source": "https://github.com/cakephp/chronos"
},
"require": {
- "php": "^5.5.9|^7"
+ "php": ">=5.6"
},
"require-dev": {
"phpunit/phpunit": "<6.0 || ^7.0",
"athletic/athletic": "~0.1",
"cakephp/cakephp-codesniffer": "^3.0",
- "phpbench/phpbench": "@dev",
- "phpstan/phpstan": "^0.6.4"
+ "phpbench/phpbench": "@dev"
},
"autoload": {
"psr-4": {
@@ -57,6 +56,7 @@
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"bench": "phpbench run",
- "phpstan": "phpstan analyze -c phpstan.neon -l 3 src tests"
+ "phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan-shim:^0.11 && mv composer.backup composer.json",
+ "phpstan": "phpstan analyze -c phpstan.neon -l 3 src/"
}
}