From 88ff15343ef62b16b759130aabf1a8654dd9a90d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 13 Apr 2017 12:23:16 +0200 Subject: [PATCH 1/3] Adds Phinx to the toolset --- .spelling | 1 + README.md | 2 ++ composer.json | 1 + 3 files changed, 4 insertions(+) diff --git a/.spelling b/.spelling index 530a2ba..69d956d 100644 --- a/.spelling +++ b/.spelling @@ -37,6 +37,7 @@ metapackage Nijhof ParaTest Phing +Phinx PHPCompatibility phpcov phpDocumentor diff --git a/README.md b/README.md index d24c519..d251de1 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Other packages that you'll get: - **[Mink Goutte Driver][mink-goutte-driver]**: Goutte driver for Mink framework - **[Mink Selenium2 Driver][mink-selenium2-driver]**: Selenium2 (WebDriver) driver for Mink framework - **[Phing][phing]**: Phing is a PHP project build system or build tool based on ​Apache Ant +- **[Phinx][phinx]**: Phinx makes it ridiculously easy to manage the database migrations for your PHP app - **[PHP_CodeSniffer Composer Installer][phpcs-composer-installer]**: For installing PHP_CodeSniffer coding standards - **[PHPCompatibility][phpcompatibility]**: PHP Compatibility checks for PHP_CodeSniffer - **[Prestissimo][prestissimo]**: Composer parallel install plugin @@ -233,6 +234,7 @@ THE SOFTWARE. [paratest]: https://github.com/brianium/paratest [pdepend]: https://github.com/pdepend/pdepend [phing]:https://www.phing.info/ +[phinx]: https://phinx.org [php-codebrowser]: https://github.com/mayflower/PHP_CodeBrowser [php-parallel-lint]: https://github.com/JakubOnderka/PHP-Parallel-Lint [phpcompatibility]: https://github.com/wimg/PHPCompatibility diff --git a/composer.json b/composer.json index 8de5185..bc1b4a5 100644 --- a/composer.json +++ b/composer.json @@ -43,6 +43,7 @@ "phpmetrics/phpmetrics": "^2.0.0", "phpro/grumphp": ">=0.11.0,<1.0.0", "phpunit/phpunit": "^5.5.0", + "robmorgan/phinx": "^0.8.0", "scheb/tombstone-analyzer": "^0.3.0", "scrutinizer/ocular": "^1.3", "sebastian/phpcpd": "^3.0.0", From b9585f5a8c0ce4ce9d3905fa985205410a8af556 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 13 Apr 2017 12:57:24 +0200 Subject: [PATCH 2/3] Fixed TravisCI, included Phinx --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 23e1fe8..7fab01e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,7 @@ script: - ./vendor/bin/paratest --version - ./vendor/bin/pdepend --version - ./vendor/bin/phing -v + - ./vendor/bin/phinx --version - ./vendor/bin/php-cs-fixer --version - ./vendor/bin/phpcbf --version - ./vendor/bin/phpcpd --version @@ -63,4 +64,3 @@ script: - ./vendor/bin/phpunit --version - ./vendor/bin/security-checker --version - ./vendor/bin/tombstone --version - - ./vendor/bin/security-checker security:check composer.lock From 01eed0a4b1671a8a6d8c065b015e69989c511438 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 13 Apr 2017 13:31:36 +0200 Subject: [PATCH 3/3] Excluded GrumPHP version 0.11.4, since it is broken --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bc1b4a5..f9ee4bd 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "phploc/phploc": "^3.0.1", "phpmd/phpmd": "^2.2.0", "phpmetrics/phpmetrics": "^2.0.0", - "phpro/grumphp": ">=0.11.0,<1.0.0", + "phpro/grumphp": ">=0.11.0,<1.0.0,!=0.11.4", "phpunit/phpunit": "^5.5.0", "robmorgan/phinx": "^0.8.0", "scheb/tombstone-analyzer": "^0.3.0",