Skip to content

Commit bd4552d

Browse files
Merge branch '4.4' into 5.0
* 4.4: [PropertyAccess] fix tests [WebProfilerBundle] fix test remove assertions that can never be reached [PropertyAccess] Improve message of unitialized property in php 7.4 [HttpFoundation] Fixed session migration with custom cookie lifetime [HttpKernel][FrameworkBundle] fix compat with Debug component [Serializer] Remove unused variable Allow URL-encoded special characters in basic auth part of URLs [Serializer] Fix unitialized properties (from PHP 7.4.2) when serializing context for the cache key [Validator] Add missing Ukrainian and Russian translations Track session usage when setting the token [4.4][MonologBridge] Fix $level type No need to reconnect the bags to the session Support for Content Security Policy style-src-elem and script-src-elem in WebProfiler [PropertyInfo][ReflectionExtractor] Check the array mutator prefixes last when the property is singular [Security][Http][SwitchUserListener] Ignore all non existent username protection errors Add installation and minimal example to README
2 parents 0bf5379 + 6cb4a21 commit bd4552d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

EventListener/DebugHandlersListener.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,7 @@ public function configure(object $event = null)
123123
$output = $output->getErrorOutput();
124124
}
125125
$this->exceptionHandler = static function (\Throwable $e) use ($app, $output) {
126-
if (method_exists($app, 'renderThrowable')) {
127-
$app->renderThrowable($e, $output);
128-
} else {
129-
if (!$e instanceof \Exception) {
130-
$e = new FatalThrowableError($e);
131-
}
132-
133-
$app->renderException($e, $output);
134-
}
126+
$app->renderThrowable($e, $output);
135127
};
136128
}
137129
}

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"symfony/browser-kit": "<4.4",
4949
"symfony/cache": "<5.0",
5050
"symfony/config": "<5.0",
51+
"symfony/console": "<4.4",
5152
"symfony/form": "<5.0",
5253
"symfony/dependency-injection": "<4.4",
5354
"symfony/doctrine-bridge": "<5.0",

0 commit comments

Comments
 (0)