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 1e15aa6

Browse filesBrowse files
committed
minor #39293 [HttpFoundation] Ignore stack trace printed by Xdebug 3 (derrabus)
This PR was merged into the 4.4 branch. Discussion ---------- [HttpFoundation] Ignore stack trace printed by Xdebug 3 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A If we're running HttpFoundation's functional tests with Xdebug 3, a stack trace will be printed when a warning is emitted. This confuses our `cookie_max_age` test currently where we perform a `setcookie()` call that will emit a warning. I have patched the corresponding fixture so the printed stack trace is ignored. A failed test can be seen here: https://travis-ci.com/github/symfony/symfony/jobs/452077515#L11078 Commits ------- b67baa4 [HttpFoundation] Ignore stack trace printed by Xdebug 3.
2 parents fb2ea6f + b67baa4 commit 1e15aa6
Copy full SHA for 1e15aa6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/cookie_max_age.expected

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/cookie_max_age.expected
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Warning: Expiry date cannot have a year greater than 9999 in %scookie_max_age.php on line 10
3-
3+
%a
44
Array
55
(
66
[0] => Content-Type: text/plain; charset=utf-8

0 commit comments

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