Skip to content

Commit c355df9

Browse files
Merge branch '3.2'
* 3.2: [WebProfilerBundle] Fix whitespace control in layout.html.twig [HttpKernel] Fix open_basedir compat in DataCollector [Validator] Fix init of YamlFileLoader::$classes for empty files
2 parents 4f3b3b3 + 7f5cd15 commit c355df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/DataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function decorateVar($var)
135135
return self::$stubsCache[$var] = new ClassStub($var);
136136
}
137137
}
138-
if (false !== strpos($var, DIRECTORY_SEPARATOR) && false === strpos($var, '://') && false === strpos($var, "\0") && is_file($var)) {
138+
if (false !== strpos($var, DIRECTORY_SEPARATOR) && false === strpos($var, '://') && false === strpos($var, "\0") && @is_file($var)) {
139139
return self::$stubsCache[$var] = new LinkStub($var);
140140
}
141141
}

0 commit comments

Comments
 (0)