{"action":"opened","number":22344,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/22344","id":114891433,"html_url":"https://github.com/symfony/symfony/pull/22344","diff_url":"https://github.com/symfony/symfony/pull/22344.diff","patch_url":"https://github.com/symfony/symfony/pull/22344.patch","issue_url":"https://api.github.com/repos/symfony/symfony/issues/22344","number":22344,"state":"open","locked":false,"title":"[DX] [TwigBundle] Improve default expand states of exception template","user":{"login":"curry684","id":1455673,"avatar_url":"https://avatars3.githubusercontent.com/u/1455673?v=3","gravatar_id":"","url":"https://api.github.com/users/curry684","html_url":"https://github.com/curry684","followers_url":"https://api.github.com/users/curry684/followers","following_url":"https://api.github.com/users/curry684/following{/other_user}","gists_url":"https://api.github.com/users/curry684/gists{/gist_id}","starred_url":"https://api.github.com/users/curry684/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curry684/subscriptions","organizations_url":"https://api.github.com/users/curry684/orgs","repos_url":"https://api.github.com/users/curry684/repos","events_url":"https://api.github.com/users/curry684/events{/privacy}","received_events_url":"https://api.github.com/users/curry684/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | master\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->\r\n| Tests pass?   | yes\r\n| Fixed tickets | #22334 \r\n| License       | MIT\r\n\r\nAs discussed in #22334 this PR changes the default exception template to more intelligently decide which call stack to initially expand:\r\n- All exceptions are scanned for user code, ignoring the front controller and callbacks\r\n- Only exceptions containing user code are expanded\r\n- If no user code is found the first exception is expanded","created_at":"2017-04-07T20:11:28Z","updated_at":"2017-04-07T20:11:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony/pulls/22344/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony/pulls/22344/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/22344/comments","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/572e254bd88d4f4d3aed41ab112565c23b7b3060","head":{"label":"curry684:issue-22334","ref":"issue-22334","sha":"572e254bd88d4f4d3aed41ab112565c23b7b3060","user":{"login":"curry684","id":1455673,"avatar_url":"https://avatars3.githubusercontent.com/u/1455673?v=3","gravatar_id":"","url":"https://api.github.com/users/curry684","html_url":"https://github.com/curry684","followers_url":"https://api.github.com/users/curry684/followers","following_url":"https://api.github.com/users/curry684/following{/other_user}","gists_url":"https://api.github.com/users/curry684/gists{/gist_id}","starred_url":"https://api.github.com/users/curry684/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curry684/subscriptions","organizations_url":"https://api.github.com/users/curry684/orgs","repos_url":"https://api.github.com/users/curry684/repos","events_url":"https://api.github.com/users/curry684/events{/privacy}","received_events_url":"https://api.github.com/users/curry684/received_events","type":"User","site_admin":false},"repo":{"id":52687558,"name":"symfony","full_name":"curry684/symfony","owner":{"login":"curry684","id":1455673,"avatar_url":"https://avatars3.githubusercontent.com/u/1455673?v=3","gravatar_id":"","url":"https://api.github.com/users/curry684","html_url":"https://github.com/curry684","followers_url":"https://api.github.com/users/curry684/followers","following_url":"https://api.github.com/users/curry684/following{/other_user}","gists_url":"https://api.github.com/users/curry684/gists{/gist_id}","starred_url":"https://api.github.com/users/curry684/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curry684/subscriptions","organizations_url":"https://api.github.com/users/curry684/orgs","repos_url":"https://api.github.com/users/curry684/repos","events_url":"https://api.github.com/users/curry684/events{/privacy}","received_events_url":"https://api.github.com/users/curry684/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/curry684/symfony","description":"The Symfony PHP framework","fork":true,"url":"https://api.github.com/repos/curry684/symfony","forks_url":"https://api.github.com/repos/curry684/symfony/forks","keys_url":"https://api.github.com/repos/curry684/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curry684/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curry684/symfony/teams","hooks_url":"https://api.github.com/repos/curry684/symfony/hooks","issue_events_url":"https://api.github.com/repos/curry684/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/curry684/symfony/events","assignees_url":"https://api.github.com/repos/curry684/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/curry684/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/curry684/symfony/tags","blobs_url":"https://api.github.com/repos/curry684/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curry684/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curry684/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/curry684/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curry684/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/curry684/symfony/languages","stargazers_url":"https://api.github.com/repos/curry684/symfony/stargazers","contributors_url":"https://api.github.com/repos/curry684/symfony/contributors","subscribers_url":"https://api.github.com/repos/curry684/symfony/subscribers","subscription_url":"https://api.github.com/repos/curry684/symfony/subscription","commits_url":"https://api.github.com/repos/curry684/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/curry684/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/curry684/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/curry684/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/curry684/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/curry684/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curry684/symfony/merges","archive_url":"https://api.github.com/repos/curry684/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curry684/symfony/downloads","issues_url":"https://api.github.com/repos/curry684/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/curry684/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/curry684/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/curry684/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curry684/symfony/labels{/name}","releases_url":"https://api.github.com/repos/curry684/symfony/releases{/id}","deployments_url":"https://api.github.com/repos/curry684/symfony/deployments","created_at":"2016-02-27T20:36:46Z","updated_at":"2016-02-27T20:37:01Z","pushed_at":"2017-04-07T20:07:15Z","git_url":"git://github.com/curry684/symfony.git","ssh_url":"git@github.com:curry684/symfony.git","clone_url":"https://github.com/curry684/symfony.git","svn_url":"https://github.com/curry684/symfony","homepage":"symfony.com","size":89285,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:master","ref":"master","sha":"7b8409ad373d7d1613ce313047272f495c80bda8","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars0.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":458058,"name":"symfony","full_name":"symfony/symfony","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars0.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony","description":"The Symfony PHP framework","fork":false,"url":"https://api.github.com/repos/symfony/symfony","forks_url":"https://api.github.com/repos/symfony/symfony/forks","keys_url":"https://api.github.com/repos/symfony/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony/teams","hooks_url":"https://api.github.com/repos/symfony/symfony/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony/events","assignees_url":"https://api.github.com/repos/symfony/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony/tags","blobs_url":"https://api.github.com/repos/symfony/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony/subscription","commits_url":"https://api.github.com/repos/symfony/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony/merges","archive_url":"https://api.github.com/repos/symfony/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony/downloads","issues_url":"https://api.github.com/repos/symfony/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony/deployments","created_at":"2010-01-04T14:21:21Z","updated_at":"2017-04-07T18:52:03Z","pushed_at":"2017-04-07T17:21:26Z","git_url":"git://github.com/symfony/symfony.git","ssh_url":"git@github.com:symfony/symfony.git","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://github.com/symfony/symfony","homepage":"symfony.com","size":92861,"stargazers_count":14241,"watchers_count":14241,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":5447,"mirror_url":null,"open_issues_count":797,"forks":5447,"open_issues":797,"watchers":14241,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/22344"},"html":{"href":"https://github.com/symfony/symfony/pull/22344"},"issue":{"href":"https://api.github.com/repos/symfony/symfony/issues/22344"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/22344/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/22344/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony/pulls/22344/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony/statuses/572e254bd88d4f4d3aed41ab112565c23b7b3060"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":12,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"curry684"}}