projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
symfony
/
http-kernel
/
EventListener
/
DumpListener.php
diff --git
a/vendor/symfony/http-kernel/EventListener/DumpListener.php
b/vendor/symfony/http-kernel/EventListener/DumpListener.php
index 06b8a030cfadd90191272d88a8c972b94602c962..88acef318722e90c72c75a35cb3483ad2662e7e6 100644
(file)
--- a/
vendor/symfony/http-kernel/EventListener/DumpListener.php
+++ b/
vendor/symfony/http-kernel/EventListener/DumpListener.php
@@
-49,6
+49,10
@@
class DumpListener implements EventSubscriberInterface
public static function getSubscribedEvents()
{
+ if (!class_exists(ConsoleEvents::class)) {
+ return array();
+ }
+
// Register early to have a working dump() as early as possible
return array(ConsoleEvents::COMMAND => array('configure', 1024));
}