diff options
author | Remi Collet <remi@remirepo.net> | 2017-12-23 17:55:05 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-12-23 17:55:05 +0100 |
commit | 89bc3e4440e059a9b2178558bcc01a1a77d82a2a (patch) | |
tree | 5fa24db8587081ef8bf11e6b0c5b19b53e49c010 /composer.json | |
parent | 75a7c6f81389f8ca35fef2676a453f034884c683 (diff) |
Update to 0.9.2
open https://github.com/cakephp/phinx/pull/1278 fix tests
use phpunit6 on Fedora
allow Symfony 4
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/composer.json b/composer.json index 915215d..1c85c43 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,7 @@ "keywords": ["phinx", "migrations", "database", "db", "database migrations"], "homepage": "https://phinx.org", "license": "MIT", + "version": "0.9.2", "authors": [{ "name": "Rob Morgan", "email": "robbym@gmail.com", @@ -25,12 +26,13 @@ }], "require": { "php": ">=5.4", - "symfony/console": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0" + "symfony/console": "^2.8|^3.0|^4.0", + "symfony/config": "^2.8|^3.0|^4.0", + "symfony/yaml": "^2.8|^3.0|^4.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.26|^5.0" + "phpunit/phpunit": "^4.8.35|^5.7|^6.5", + "cakephp/cakephp-codesniffer": "^3.0" }, "autoload": { "psr-4": { @@ -42,5 +44,14 @@ "Test\\Phinx\\": "tests/Phinx" } }, + "scripts": { + "check": [ + "@test", + "@cs-check" + ], + "cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests ./app", + "cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests ./app", + "test": "phpunit --colors=always" + }, "bin": ["bin/phinx"] } |