Skip to content

Commit 1e9e882

Browse files
authored
Merge pull request #85 from loadsys/f/3.x-remove-requires
F/3.x remove requires
2 parents b1358ba + 770ae27 commit 1e9e882

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following dependencies are assumed to be available on the target system and
3131
* `readlink`
3232
* `zip`
3333

34-
Additionally, some scripts expect additional tools that should be automatically installed as composer dependencies to _this_ package:
34+
Additionally, some scripts expect additional tools that should be installed as composer dependencies in **your project:**
3535

3636
* `bin/phpcs`
3737
* `bin/phpunit`
@@ -40,6 +40,8 @@ Additionally, some scripts expect additional tools that should be automatically
4040

4141
If these items are not available, some scripts may not function as expected.
4242

43+
**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.
44+
4345

4446
## Installation
4547

@@ -50,7 +52,13 @@ Your project's `composer.json` file should include something like this:
5052
```json
5153
{
5254
"require": {
53-
"loadsys/cakephp-shell-scripts": "~3.0"
55+
"loadsys/cakephp-shell-scripts": "~3.0",
56+
"cakephp/cakephp": "~3.3",
57+
"phpunit/phpunit": "~4.1",
58+
"phpdocumentor/phpdocumentor": "~2.0",
59+
"loadsys/loadsys_codesniffer": "~3.0",
60+
"nikic/php-parser": "~0.9",
61+
"phpmetrics/phpmetrics": "^1.10"
5462
},
5563
"config": {
5664
"bin-dir": "bin"

composer.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88
"email": "beporter@users.sourceforge.net"
99
}
1010
],
11-
"require": {
12-
"cakephp/cakephp": "~3.3",
13-
"phpunit/phpunit": "~4.1",
14-
"phpdocumentor/phpdocumentor": "~2.0",
15-
"loadsys/loadsys_codesniffer": "~3.0",
16-
"nikic/php-parser": "~0.9",
17-
"phpmetrics/phpmetrics": "^1.10"
18-
},
1911
"config": {
2012
"bin-dir": "bin"
2113
},

0 commit comments

Comments
 (0)