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
/
debug
/
FatalErrorHandler
/
UndefinedFunctionFatalErrorHandler.php
diff --git
a/vendor/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php
b/vendor/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php
index c6f391a79c686fe86a3538ec0b98ddb975b30816..db2418037748b773929ac6c4413ee82e6ddf93bd 100644
(file)
--- a/
vendor/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php
+++ b/
vendor/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php
@@
-11,8
+11,8
@@
namespace Symfony\Component\Debug\FatalErrorHandler;
namespace Symfony\Component\Debug\FatalErrorHandler;
-use Symfony\Component\Debug\Exception\UndefinedFunctionException;
use Symfony\Component\Debug\Exception\FatalErrorException;
use Symfony\Component\Debug\Exception\FatalErrorException;
+use Symfony\Component\Debug\Exception\UndefinedFunctionException;
/**
* ErrorHandler for undefined functions.
/**
* ErrorHandler for undefined functions.
@@
-26,9
+26,9
@@
class UndefinedFunctionFatalErrorHandler implements FatalErrorHandlerInterface
*/
public function handleError(array $error, FatalErrorException $exception)
{
*/
public function handleError(array $error, FatalErrorException $exception)
{
- $messageLen = strlen($error['message']);
+ $messageLen =
\
strlen($error['message']);
$notFoundSuffix = '()';
$notFoundSuffix = '()';
- $notFoundSuffixLen = strlen($notFoundSuffix);
+ $notFoundSuffixLen =
\
strlen($notFoundSuffix);
if ($notFoundSuffixLen > $messageLen) {
return;
}
if ($notFoundSuffixLen > $messageLen) {
return;
}
@@
-38,7
+38,7
@@
class UndefinedFunctionFatalErrorHandler implements FatalErrorHandlerInterface
}
$prefix = 'Call to undefined function ';
}
$prefix = 'Call to undefined function ';
- $prefixLen = strlen($prefix);
+ $prefixLen =
\
strlen($prefix);
if (0 !== strpos($error['message'], $prefix)) {
return;
}
if (0 !== strpos($error['message'], $prefix)) {
return;
}