Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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

Expand All @@ -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"
Expand Down
8 changes: 0 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down