diff options
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"] } |