projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
class-loader
/
ClassMapGenerator.php
diff --git
a/vendor/symfony/class-loader/ClassMapGenerator.php
b/vendor/symfony/class-loader/ClassMapGenerator.php
index a9351367ebb6e7dd966bd7bc40486e6b31e513b0..6a96886cf1835e202043540f39b561b2e5e645a6 100644
(file)
--- a/
vendor/symfony/class-loader/ClassMapGenerator.php
+++ b/
vendor/symfony/class-loader/ClassMapGenerator.php
@@
-49,7
+49,7
@@
class ClassMapGenerator
*/
public static function createMap($dir)
{
*/
public static function createMap($dir)
{
- if (is_string($dir)) {
+ if (
\
is_string($dir)) {
$dir = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir));
}
$dir = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir));
}
@@
-110,7
+110,7
@@
class ClassMapGenerator
$namespace = '';
// If there is a namespace, extract it
while (isset($tokens[++$i][1])) {
$namespace = '';
// If there is a namespace, extract it
while (isset($tokens[++$i][1])) {
- if (in_array($tokens[$i][0], array(T_STRING, T_NS_SEPARATOR))) {
+ if (
\
in_array($tokens[$i][0], array(T_STRING, T_NS_SEPARATOR))) {
$namespace .= $tokens[$i][1];
}
}
$namespace .= $tokens[$i][1];
}
}
@@
-129,7
+129,7
@@
class ClassMapGenerator
if (T_DOUBLE_COLON === $tokens[$j][0]) {
$isClassConstant = true;
break;
if (T_DOUBLE_COLON === $tokens[$j][0]) {
$isClassConstant = true;
break;
- } elseif (!in_array($tokens[$j][0], array(T_WHITESPACE, T_DOC_COMMENT, T_COMMENT))) {
+ } elseif (!
\
in_array($tokens[$j][0], array(T_WHITESPACE, T_DOC_COMMENT, T_COMMENT))) {
break;
}
}
break;
}
}