8000 [3.0] Cleaning Form and Validator a bit more · symfony/symfony@4ea2af5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ea2af5

Browse filesBrowse files
[3.0] Cleaning Form and Validator a bit more
1 parent 4067a5c commit 4ea2af5

File tree

15 files changed

+72
-340
lines changed

15 files changed

+72
-340
lines changed

src/Symfony/Component/Debug/ExceptionHandler.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ class ExceptionHandler
3838

3939
public function __construct($debug = true, $charset = null, $fileLinkFormat = null)
4040
{
41-
if (false !== strpos($charset, '%')) {
42-
// Swap $charset and $fileLinkFormat for BC reasons
43-
$pivot = $fileLinkFormat;
44-
$fileLinkFormat = $charset;
45-
$charset = $pivot;
46-
}
4741
$this->debug = $debug;
4842
$this->charset = $charset ?: ini_get('default_charset') ?: 'UTF-8';
4943
$this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format');

0 commit comments

Comments
 (0)
0