Skip to content

Commit 0b0587c

Browse files
committed
tests: compatible with master nette/di
1 parent 88b274a commit 0b0587c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Bridges.DI/CacheExtension.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test(function () {
1616
$compiler = new DI\Compiler;
1717
$compiler->addExtension('cache', new CacheExtension(TEMP_DIR));
1818

19-
eval($compiler->compile([], 'Container1'));
19+
eval(@$compiler->compile([], 'Container1')); // @ compatibility with DI 2.4
2020

2121
$container = new Container1;
2222
$container->initialize();

0 commit comments

Comments
 (0)