Skip to content

Commit

Permalink
hack for dibi bridge test compatibility
Browse files Browse the repository at this point in the history
will be removed, once the bridge is extracted [#238]
  • Loading branch information
fprochazka committed Mar 8, 2017
1 parent 05d193e commit 184ea6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/KdybyTests/Doctrine/DibiBridgeTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ namespace KdybyTests\DibiBridge;
use Doctrine;
use Kdyby;
use Kdyby\Doctrine\Connection;
use Nette;
use Tester;
use Tester\Assert;

require_once __DIR__ . '/../bootstrap.php';



if (!function_exists('set_magic_quotes_runtime')) {
// BC Break fix for PHP 7.1
eval('namespace { function set_magic_quotes_runtime() {} } ');
}

/**
* This test is here just to ensure compatibility of Dibi.
*
Expand Down

0 comments on commit 184ea6c

Please sign in to comment.