mirror of
https://github.com/danog/dns.git
synced 2025-01-22 21:41:11 +01:00
Added check to stop myself being confused by the tests not running.
This commit is contained in:
parent
8ac3ce08f8
commit
ebce062f63
@ -4,6 +4,12 @@ use Auryn\Provider;
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
if (ini_get('opcache.enable') == true &&
|
||||
ini_get('opcache.save_comments') == false) {
|
||||
echo "Cannot run tests. OPCache is enabled and is stripping comments, which are required by PHPUnit to provide data for the tests.\n";
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
function createProvider($implementations = [], $shareClasses = []) {
|
||||
$provider = new Provider();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user