{"action":"created","comment":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/comments/83602254","pull_request_review_id":4434042,"id":83602254,"diff_hunk":"@@ -65,6 +65,16 @@ public function getSource()\n     }\n \n     /**\n+     * Returns information about the original template source code.\n+     *\n+     * @return Twig_Source\n+     */\n+    public function getSourceContext()\n+    {\n+        return new Twig_Source('');","path":"lib/Twig/Template.php","position":10,"original_position":10,"commit_id":"d57a59b822a2d5e324a2ef35032a44db4a14f1f8","original_commit_id":"d57a59b822a2d5e324a2ef35032a44db4a14f1f8","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"body":"``$this->getTemplateName()`` should be passed as second argument here","created_at":"2016-10-17T09:04:29Z","updated_at":"2016-10-17T09:04:29Z","html_url":"https://github.com/twigphp/Twig/pull/2182#discussion_r83602254","pull_request_url":"https://api.github.com/repos/twigphp/Twig/pulls/2182","_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments/83602254"},"html":{"href":"https://github.com/twigphp/Twig/pull/2182#discussion_r83602254"},"pull_request":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2182"}}},"pull_request":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/2182","id":89503817,"html_url":"https://github.com/twigphp/Twig/pull/2182","diff_url":"https://github.com/twigphp/Twig/pull/2182.diff","patch_url":"https://github.com/twigphp/Twig/pull/2182.patch","issue_url":"https://api.github.com/repos/twigphp/Twig/issues/2182","number":2182,"state":"open","locked":false,"title":"added Twig_Source to hold information about the original template","user":{"login":"fabpot","id":47313,"avatar_url":"https://avatars.githubusercontent.com/u/47313?v=3","gravatar_id":"","url":"https://api.github.com/users/fabpot","html_url":"https://github.com/fabpot","followers_url":"https://api.github.com/users/fabpot/followers","following_url":"https://api.github.com/users/fabpot/following{/other_user}","gists_url":"https://api.github.com/users/fabpot/gists{/gist_id}","starred_url":"https://api.github.com/users/fabpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabpot/subscriptions","organizations_url":"https://api.github.com/users/fabpot/orgs","repos_url":"https://api.github.com/users/fabpot/repos","events_url":"https://api.github.com/users/fabpot/events{/privacy}","received_events_url":"https://api.github.com/users/fabpot/received_events","type":"User","site_admin":false},"body":"Alternative to #2170\r\n\r\nWIP as I'm not really satisfied yet with the names.\r\n","created_at":"2016-10-15T19:35:15Z","updated_at":"2016-10-17T09:09:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbbbb774433a3854eefc9f30ba6e008b9dda746f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/twigphp/Twig/pulls/2182/commits","review_comments_url":"https://api.github.com/repos/twigphp/Twig/pulls/2182/comments","review_comment_url":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twigphp/Twig/issues/2182/comments","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/d57a59b822a2d5e324a2ef35032a44db4a14f1f8","head":{"label":"fabpot:filename-debuginfo","ref":"filename-debuginfo","sha":"d57a59b822a2d5e324a2ef35032a44db4a14f1f8","user":{"login":"fabpot","id":47313,"avatar_url":"https://avatars.githubusercontent.com/u/47313?v=3","gravatar_id":"","url":"https://api.github.com/users/fabpot","html_url":"https://github.com/fabpot","followers_url":"https://api.github.com/users/fabpot/followers","following_url":"https://api.github.com/users/fabpot/following{/other_user}","gists_url":"https://api.github.com/users/fabpot/gists{/gist_id}","starred_url":"https://api.github.com/users/fabpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabpot/subscriptions","organizations_url":"https://api.github.com/users/fabpot/orgs","repos_url":"https://api.github.com/users/fabpot/repos","events_url":"https://api.github.com/users/fabpot/events{/privacy}","received_events_url":"https://api.github.com/users/fabpot/received_events","type":"User","site_admin":false},"repo":{"id":25424710,"name":"Twig","full_name":"fabpot/Twig","owner":{"login":"fabpot","id":47313,"avatar_url":"https://avatars.githubusercontent.com/u/47313?v=3","gravatar_id":"","url":"https://api.github.com/users/fabpot","html_url":"https://github.com/fabpot","followers_url":"https://api.github.com/users/fabpot/followers","following_url":"https://api.github.com/users/fabpot/following{/other_user}","gists_url":"https://api.github.com/users/fabpot/gists{/gist_id}","starred_url":"https://api.github.com/users/fabpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabpot/subscriptions","organizations_url":"https://api.github.com/users/fabpot/orgs","repos_url":"https://api.github.com/users/fabpot/repos","events_url":"https://api.github.com/users/fabpot/events{/privacy}","received_events_url":"https://api.github.com/users/fabpot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabpot/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":true,"url":"https://api.github.com/repos/fabpot/Twig","forks_url":"https://api.github.com/repos/fabpot/Twig/forks","keys_url":"https://api.github.com/repos/fabpot/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabpot/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabpot/Twig/teams","hooks_url":"https://api.github.com/repos/fabpot/Twig/hooks","issue_events_url":"https://api.github.com/repos/fabpot/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/fabpot/Twig/events","assignees_url":"https://api.github.com/repos/fabpot/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/fabpot/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/fabpot/Twig/tags","blobs_url":"https://api.github.com/repos/fabpot/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabpot/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabpot/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabpot/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabpot/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/fabpot/Twig/languages","stargazers_url":"https://api.github.com/repos/fabpot/Twig/stargazers","contributors_url":"https://api.github.com/repos/fabpot/Twig/contributors","subscribers_url":"https://api.github.com/repos/fabpot/Twig/subscribers","subscription_url":"https://api.github.com/repos/fabpot/Twig/subscription","commits_url":"https://api.github.com/repos/fabpot/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabpot/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabpot/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabpot/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabpot/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/fabpot/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabpot/Twig/merges","archive_url":"https://api.github.com/repos/fabpot/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabpot/Twig/downloads","issues_url":"https://api.github.com/repos/fabpot/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/fabpot/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/fabpot/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/fabpot/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabpot/Twig/labels{/name}","releases_url":"https://api.github.com/repos/fabpot/Twig/releases{/id}","deployments_url":"https://api.github.com/repos/fabpot/Twig/deployments","created_at":"2014-10-19T11:11:25Z","updated_at":"2016-10-09T10:34:32Z","pushed_at":"2016-10-15T20:28:08Z","git_url":"git://github.com/fabpot/Twig.git","ssh_url":"git@github.com:fabpot/Twig.git","clone_url":"https://github.com/fabpot/Twig.git","svn_url":"https://github.com/fabpot/Twig","homepage":"http://twig.sensiolabs.org/","size":6953,"stargazers_count":52,"watchers_count":52,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":0,"forks":19,"open_issues":0,"watchers":52,"default_branch":"master"}},"base":{"label":"twigphp:1.x","ref":"1.x","sha":"b98f431828d1e30fe9a3634fdbd4a818930772e5","user":{"login":"twigphp","id":5296178,"avatar_url":"https://avatars.githubusercontent.com/u/5296178?v=3","gravatar_id":"","url":"https://api.github.com/users/twigphp","html_url":"https://github.com/twigphp","followers_url":"https://api.github.com/users/twigphp/followers","following_url":"https://api.github.com/users/twigphp/following{/other_user}","gists_url":"https://api.github.com/users/twigphp/gists{/gist_id}","starred_url":"https://api.github.com/users/twigphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twigphp/subscriptions","organizations_url":"https://api.github.com/users/twigphp/orgs","repos_url":"https://api.github.com/users/twigphp/repos","events_url":"https://api.github.com/users/twigphp/events{/privacy}","received_events_url":"https://api.github.com/users/twigphp/received_events","type":"Organization","site_admin":false},"repo":{"id":330275,"name":"Twig","full_name":"twigphp/Twig","owner":{"login":"twigphp","id":5296178,"avatar_url":"https://avatars.githubusercontent.com/u/5296178?v=3","gravatar_id":"","url":"https://api.github.com/users/twigphp","html_url":"https://github.com/twigphp","followers_url":"https://api.github.com/users/twigphp/followers","following_url":"https://api.github.com/users/twigphp/following{/other_user}","gists_url":"https://api.github.com/users/twigphp/gists{/gist_id}","starred_url":"https://api.github.com/users/twigphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twigphp/subscriptions","organizations_url":"https://api.github.com/users/twigphp/orgs","repos_url":"https://api.github.com/users/twigphp/repos","events_url":"https://api.github.com/users/twigphp/events{/privacy}","received_events_url":"https://api.github.com/users/twigphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twigphp/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":false,"url":"https://api.github.com/repos/twigphp/Twig","forks_url":"https://api.github.com/repos/twigphp/Twig/forks","keys_url":"https://api.github.com/repos/twigphp/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twigphp/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twigphp/Twig/teams","hooks_url":"https://api.github.com/repos/twigphp/Twig/hooks","issue_events_url":"https://api.github.com/repos/twigphp/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/twigphp/Twig/events","assignees_url":"https://api.github.com/repos/twigphp/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/twigphp/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/twigphp/Twig/tags","blobs_url":"https://api.github.com/repos/twigphp/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twigphp/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twigphp/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/twigphp/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/twigphp/Twig/languages","stargazers_url":"https://api.github.com/repos/twigphp/Twig/stargazers","contributors_url":"https://api.github.com/repos/twigphp/Twig/contributors","subscribers_url":"https://api.github.com/repos/twigphp/Twig/subscribers","subscription_url":"https://api.github.com/repos/twigphp/Twig/subscription","commits_url":"https://api.github.com/repos/twigphp/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/twigphp/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/twigphp/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/twigphp/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/twigphp/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/twigphp/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twigphp/Twig/merges","archive_url":"https://api.github.com/repos/twigphp/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twigphp/Twig/downloads","issues_url":"https://api.github.com/repos/twigphp/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/twigphp/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/twigphp/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/twigphp/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twigphp/Twig/labels{/name}","releases_url":"https://api.github.com/repos/twigphp/Twig/releases{/id}","deployments_url":"https://api.github.com/repos/twigphp/Twig/deployments","created_at":"2009-10-07T21:23:38Z","updated_at":"2016-10-16T13:58:46Z","pushed_at":"2016-10-15T20:28:08Z","git_url":"git://github.com/twigphp/Twig.git","ssh_url":"git@github.com:twigphp/Twig.git","clone_url":"https://github.com/twigphp/Twig.git","svn_url":"https://github.com/twigphp/Twig","homepage":"http://twig.sensiolabs.org/","size":9135,"stargazers_count":3412,"watchers_count":3412,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":851,"mirror_url":null,"open_issues_count":90,"forks":851,"open_issues":90,"watchers":3412,"default_branch":"1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2182"},"html":{"href":"https://github.com/twigphp/Twig/pull/2182"},"issue":{"href":"https://api.github.com/repos/twigphp/Twig/issues/2182"},"comments":{"href":"https://api.github.com/repos/twigphp/Twig/issues/2182/comments"},"review_comments":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2182/comments"},"review_comment":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2182/commits"},"statuses":{"href":"https://api.github.com/repos/twigphp/Twig/statuses/d57a59b822a2d5e324a2ef35032a44db4a14f1f8"}}}}
{"actor":{"display_login":"stof"}}