File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,10 @@ $ git clone git://github.com/sebastianbergmann/phpunit.git
39
39
$ cd phpunit
40
40
```
41
41
42
- Retrieve PHPUnit's dependencies using [ Composer] ( http ://getcomposer.org/) :
42
+ Retrieve PHPUnit's dependencies using [ Composer] ( https ://getcomposer.org/) :
43
43
44
44
``` bash
45
- $ wget http://getcomposer.org/composer.phar
46
-
47
- $ php composer.phar install
45
+ $ composer install
48
46
```
49
47
50
48
The ` phpunit ` script can be used to invoke the PHPUnit test runner:
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ unset($file);
39
39
40
40
if (!defined ('PHPUNIT_COMPOSER_INSTALL ' )) {
41
41
fwrite (STDERR ,
42
- 'You need to set up the project dependencies using the following commands: ' . PHP_EOL .
43
- 'wget http://getcomposer.org/ composer.phar ' . PHP_EOL .
44
- 'php composer.phar install ' . PHP_EOL
42
+ 'You need to set up the project dependencies using Composer: ' . PHP_EOL . PHP_EOL .
43
+ ' composer install ' . PHP_EOL . PHP_EOL .
44
+ 'You can learn all about Composer on https://getcomposer.org/. ' . PHP_EOL
45
45
);
46
46
47
47
die (1 );
You can’t perform that action at this time.
0 commit comments