Skip to content

Commit 2929097

Browse files
Merge branch '3.2'
* 3.2: [Console] Fix too strict test [FrameworkBundle] Execute the PhpDocExtractor earlier [validator] Updated croatian translation Update DebugHandlersListener.php ignore invalid cookies expires date format [Console] SfStyleTest: Remove COLUMN env on tearDown [TwigBundle] Fix the name of the cache warming test class [Console] Fix TableCell issues with decoration Add missing pieces in the upgrade guide to 3.0
2 parents 01c82c6 + 27830c7 commit 2929097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventListener/DebugHandlersListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public static function getSubscribedEvents()
137137
{
138138
$events = array(KernelEvents::REQUEST => array('configure', 2048));
139139

140-
if ('cli' === php_sapi_name() && defined('Symfony\Component\Console\ConsoleEvents::COMMAND')) {
140+
if ('cli' === PHP_SAPI && defined('Symfony\Component\Console\ConsoleEvents::COMMAND')) {
141141
$events[ConsoleEvents::COMMAND] = array('configure', 2048);
142142
}
143143

0 commit comments

Comments
 (0)