From 89bc3e4440e059a9b2178558bcc01a1a77d82a2a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 23 Dec 2017 17:55:05 +0100 Subject: Update to 0.9.2 open https://github.com/cakephp/phinx/pull/1278 fix tests use phpunit6 on Fedora allow Symfony 4 --- composer.json | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'composer.json') 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"] } -- cgit