Skip to content

Commit a87e50f

Browse files
committed
compatible with RobotLoader 3.0
1 parent f0077b0 commit a87e50f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"nette/tester": "~2.0",
2929
"nette/di": "~2.4",
3030
"nette/forms": "~2.4",
31-
"nette/robot-loader": "~2.4",
31+
"nette/robot-loader": "^2.4.2 || ^3.0",
3232
"nette/security": "~2.4",
3333
"latte/latte": "^2.4.1",
3434
"tracy/tracy": "^2.4",

src/Bridges/ApplicationDI/ApplicationExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ private function findPresenters()
128128
throw new Nette\NotSupportedException("RobotLoader is required to find presenters, install package `nette/robot-loader` or disable option {$this->prefix('scanDirs')}: false");
129129
}
130130
$robot = new Nette\Loaders\RobotLoader;
131-
$robot->setCacheStorage(new Nette\Caching\Storages\DevNullStorage);
132131
$robot->addDirectory($config['scanDirs']);
133132
$robot->acceptFiles = '*' . $config['scanFilter'] . '*.php';
134133
$robot->rebuild();

0 commit comments

Comments
 (0)