You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PhpFileParser.php
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,9 @@ public static function findClasses(string $path): array
30
30
{
31
31
$extraTypes = self::getExtraTypes();
32
32
33
+
if (!function_exists('php_strip_whitespace')) {
34
+
thrownew \RuntimeException('Classmap generation relies on the php_strip_whitespace function, but it has been disabled by the disable_functions directive.');
35
+
}
33
36
// Use @ here instead of Silencer to actively suppress 'unhelpful' output
0 commit comments