Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f154be3

Browse filesBrowse files
[HttpKernel][Debug] Remove noise from stack frames of deprecations
1 parent ead2a1a commit f154be3
Copy full SHA for f154be3

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Component/Debug/ErrorHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/ErrorHandler.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ private function cleanTrace($backtrace, $type, $file, $line, $throw)
707707
}
708708
if (!($throw || $this->scopedErrors & $type)) {
709709
for ($i = 0; isset($lightTrace[$i]); ++$i) {
710-
unset($lightTrace[$i]['args']);
710+
unset($lightTrace[$i]['args'], $lightTrace[$i]['object']);
711711
}
712712
}
713713

‎src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function configure(Event $event = null)
8686
$handler->screamAt($levels);
8787
}
8888
if ($this->scope) {
89-
$handler->scopeAt($this->levels);
89+
$handler->scopeAt($levels & ~E_USER_DEPRECATED & ~E_DEPRECATED);
9090
} else {
9191
$handler->scopeAt(0, true);
9292
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.