This commit is contained in:
Fabien Potencier
2015-11-02 15:44:22 +01:00
parent 52b8d992dc
commit 20249a0320
+1 -1
View File
@@ -152,7 +152,7 @@ class Twig_Tests_EnvironmentTest extends PHPUnit_Framework_TestCase
public function testExtensionsAreNotInitializedWhenRenderingACompiledTemplate()
{
$uid = (function_exists('posix_getuid') ? posix_getuid() : '');
$uid = function_exists('posix_getuid') ? posix_getuid() : '';
$cache = new Twig_Cache_Filesystem($dir = sys_get_temp_dir().'/twig'.$uid);
$options = array('cache' => $cache, 'auto_reload' => false, 'debug' => false);