Skip to content

Commit ed7e658

Browse files
authored
Merge pull request #84 from loadsys/f/2.x-remove-requires
F/2.x remove requires
2 parents 52aa592 + 778ca98 commit ed7e658

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The following dependencies are assumed to be available on the target system and
2727
* `readlink`
2828
* `zip`
2929

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

3232
* `bin/phpcs`
3333
* `bin/phpunit`
@@ -36,6 +36,8 @@ Additionally, some scripts expect additional tools that should be automatically
3636

3737
If these items are not available, some scripts may not function as expected.
3838

39+
**IMPORTANT NOTE:** Previous versions of _this_ package automatically installed `PHP_CodeSniffer`, `PHPUnit`, and `phpDocumentor` via composer. These tools should now be added to your project's `composer.json` as specified below.
40+
3941

4042
## Installation ##
4143

@@ -48,7 +50,11 @@ Your project's own `composer.json` file should look something like this:
4850
```json
4951
{
5052
"require": {
51-
"loadsys/cakephp-shell-scripts": "2.0.*"
53+
"loadsys/cakephp-shell-scripts": "2.0.*",
54+
"phpunit/phpunit": "3.7.*",
55+
"phpdocumentor/phpdocumentor": "2.*",
56+
"squizlabs/php_codesniffer": "1.*",
57+
"loadsys/loadsys_codesniffer": "~1.0"
5258
},
5359
"config": {
5460
"bin-dir": "bin"

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88
"email": "beporter@users.sourceforge.net"
99
}
1010
],
11-
"require": {
12-
"phpunit/phpunit": "3.7.*",
13-
"phpdocumentor/phpdocumentor": "2.*",
14-
"squizlabs/php_codesniffer": "1.*",
15-
"loadsys/loadsys_codesniffer": "~1.0"
16-
},
1711
"config": {
1812
"bin-dir": "bin"
1913
},
@@ -66,4 +60,4 @@
6660
"updatewritedirs",
6761
"writedirs"
6862
]
69-
}
63+
}

0 commit comments

Comments
 (0)