mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update PhpUnitWrapper.php & TestRunner.php to recommend PHPUnit installation via Composer rather than PEAR
Using the PEAR Installer to install PHPUnit is no longer supported. See https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method. Replace PEAR in a comment and die output message with Composer. Signed-off-by: AntonyThorpe <antony.thorpe@budget12.com>
This commit is contained in:
parent
9f3506bf02
commit
2d0fe7a4aa
@ -112,7 +112,7 @@ class TestRunner extends Controller {
|
||||
if (!self::$default_reporter) self::set_reporter(Director::is_cli() ? 'CliDebugView' : 'DebugView');
|
||||
|
||||
if(!PhpUnitWrapper::has_php_unit()) {
|
||||
die("Please install PHPUnit using pear");
|
||||
die("Please install PHPUnit using Composer");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,7 @@ class PhpUnitWrapper_Exception extends Exception {}
|
||||
//
|
||||
if(!PhpUnitWrapper::has_php_unit()) {
|
||||
/**
|
||||
* PHPUnit is a testing framework that can be installed using PEAR.
|
||||
* PHPUnit is a testing framework that can be installed using Composer.
|
||||
* It's not bundled with SilverStripe, you will need to install it yourself.
|
||||
*
|
||||
* @package framework
|
||||
|
Loading…
Reference in New Issue
Block a user