mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-32400 do not silence diagnostic PHPUnit includes
This commit is contained in:
parent
0d8e51a65f
commit
0684ea9972
@ -65,7 +65,7 @@ if ($options['phpunitdir']) {
|
||||
}
|
||||
|
||||
// verify PHPUnit libs are loaded
|
||||
if (!@include_once('PHPUnit/Autoload.php')) {
|
||||
if (!include_once('PHPUnit/Autoload.php')) {
|
||||
phpunit_bootstrap_error(PHPUNIT_EXITCODE_PHPUNITMISSING);
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ if ($phpunitversion === '@package_version@') {
|
||||
}
|
||||
unset($phpunitversion);
|
||||
|
||||
if (!@include_once('PHPUnit/Extensions/Database/Autoload.php')) {
|
||||
if (!include_once('PHPUnit/Extensions/Database/Autoload.php')) {
|
||||
phpunit_bootstrap_error(PHPUNIT_EXITCODE_PHPUNITEXTMISSING, 'phpunit/DbUnit');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user