diff --git a/README.md b/README.md index 66b1020..07de77f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The following dependencies are assumed to be available on the target system and * `readlink` * `zip` -Additionally, some scripts expect additional tools that should be automatically installed as composer dependencies to _this_ package: +Additionally, some scripts expect additional tools that should be installed as composer dependencies in **your project:** * `bin/phpcs` * `bin/phpunit` @@ -40,6 +40,8 @@ Additionally, some scripts expect additional tools that should be automatically If these items are not available, some scripts may not function as expected. +**IMPORTANT NOTE:** Previous versions of _this_ package automatically installed `CakePHP`, `PHP_CodeSniffer`, `PHPUnit`, `phpDocumentor`, `PHP-Parser`, and `PHPMetrics` via composer. These tools should now be added to your project's `composer.json` as specified below. + ## Installation @@ -50,7 +52,13 @@ Your project's `composer.json` file should include something like this: ```json { "require": { - "loadsys/cakephp-shell-scripts": "~3.0" + "loadsys/cakephp-shell-scripts": "~3.0", + "cakephp/cakephp": "~3.3", + "phpunit/phpunit": "~4.1", + "phpdocumentor/phpdocumentor": "~2.0", + "loadsys/loadsys_codesniffer": "~3.0", + "nikic/php-parser": "~0.9", + "phpmetrics/phpmetrics": "^1.10" }, "config": { "bin-dir": "bin" diff --git a/composer.json b/composer.json index 09b901d..0f04bbc 100644 --- a/composer.json +++ b/composer.json @@ -8,14 +8,6 @@ "email": "beporter@users.sourceforge.net" } ], - "require": { - "cakephp/cakephp": "~3.3", - "phpunit/phpunit": "~4.1", - "phpdocumentor/phpdocumentor": "~2.0", - "loadsys/loadsys_codesniffer": "~3.0", - "nikic/php-parser": "~0.9", - "phpmetrics/phpmetrics": "^1.10" - }, "config": { "bin-dir": "bin" },