mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
move RobotLoader cache to tmp instead of root
This commit is contained in:
parent
d7a6202325
commit
2ed272973d
@ -71,7 +71,7 @@ final class ConfigurationFactory
|
||||
{
|
||||
$robotLoader = new RobotLoader();
|
||||
$robotLoader->addDirectory(__DIR__ . '/../../../../vendor/nikic/php-parser/lib/PhpParser/Node');
|
||||
$robotLoader->setTempDirectory(getcwd() . '_robotloader_nodes');
|
||||
$robotLoader->setTempDirectory(sys_get_temp_dir() . '/_robotloader_nodes');
|
||||
$robotLoader->rebuild();
|
||||
|
||||
$nodeClasses = array_keys($robotLoader->getIndexedClasses());
|
||||
|
Loading…
x
Reference in New Issue
Block a user