10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aebd3a commit f9f862fCopy full SHA for f9f862f
src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php
@@ -137,7 +137,7 @@ public static function getSubscribedEvents()
137
{
138
$events = array(KernelEvents::REQUEST => array('configure', 2048));
139
140
- if ('cli' === php_sapi_name() && defined('Symfony\Component\Console\ConsoleEvents::COMMAND')) {
+ if ('cli' === PHP_SAPI && defined('Symfony\Component\Console\ConsoleEvents::COMMAND')) {
141
$events[ConsoleEvents::COMMAND] = array('configure', 2048);
142
}
143
0 commit comments