From 0684ea9972a81597e810fab9753c5e8a92e270e3 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 13 Apr 2012 12:52:37 +0200 Subject: [PATCH] MDL-32400 do not silence diagnostic PHPUnit includes --- admin/tool/phpunit/cli/util.php | 2 +- lib/phpunit/bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/tool/phpunit/cli/util.php b/admin/tool/phpunit/cli/util.php index 2c92b0615ef..cced963ecf2 100644 --- a/admin/tool/phpunit/cli/util.php +++ b/admin/tool/phpunit/cli/util.php @@ -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); } diff --git a/lib/phpunit/bootstrap.php b/lib/phpunit/bootstrap.php index e9a046caad7..dbf97018b26 100644 --- a/lib/phpunit/bootstrap.php +++ b/lib/phpunit/bootstrap.php @@ -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'); }