{"action":"created","comment":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/comments/29091283","id":29091283,"diff_hunk":"@@ -1398,15 +1402,17 @@ function twig_test_iterable($value)\n /**\n  * Renders a template.\n  *\n- * @param string|array $template       The template to render or an array of templates to try consecutively\n- * @param array        $variables      The variables to pass to the template\n- * @param bool         $with_context   Whether to pass the current context variables or not\n- * @param bool         $ignore_missing Whether to ignore missing templates or not\n- * @param bool         $sandboxed      Whether to sandbox the template or not\n+ * @param Twig_Environment $env\n+ * @param array            $context\n+ * @param string|array     $template      The template to render or an array of templates to try consecutively\n+ * @param array            $variables     The variables to pass to the template\n+ * @param bool             $withContext\n+ * @param bool             $ignoreMissing Whether to ignore missing templates or not\n+ * @param bool             $sandboxed     Whether to sandbox the template or not\n  *\n  * @return string The rendered template\n  */\n-function twig_include(Twig_Environment $env, $context, $template, $variables = array(), $withContext = true, $ignoreMissing = false, $sandboxed = false)\n+function twig_include(Twig_Environment $env, array $context, $template, $variables = array(), $withContext = true, $ignoreMissing = false, $sandboxed = false)","path":"lib/Twig/Extension/Core.php","position":40,"original_position":40,"commit_id":"2030482e4de86535dc8deeb123094bcac7fbc246","original_commit_id":"2030482e4de86535dc8deeb123094bcac7fbc246","user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"body":"could adding typing hinting (`array` in this case) cause a BC break?","created_at":"2015-04-24T22:32:37Z","updated_at":"2015-04-24T22:32:37Z","html_url":"https://github.com/twigphp/Twig/pull/1678#discussion_r29091283","pull_request_url":"https://api.github.com/repos/twigphp/Twig/pulls/1678","_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments/29091283"},"html":{"href":"https://github.com/twigphp/Twig/pull/1678#discussion_r29091283"},"pull_request":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1678"}}},"pull_request":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/1678","id":34057819,"html_url":"https://github.com/twigphp/Twig/pull/1678","diff_url":"https://github.com/twigphp/Twig/pull/1678.diff","patch_url":"https://github.com/twigphp/Twig/pull/1678.patch","issue_url":"https://api.github.com/repos/twigphp/Twig/issues/1678","number":1678,"state":"open","locked":false,"title":"PHP docs and unused code clean ups","user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-24T15:16:39Z","updated_at":"2015-04-24T22:32:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c35e9e5a245202f721cd987adf30fbbfa0b29e0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twigphp/Twig/pulls/1678/commits","review_comments_url":"https://api.github.com/repos/twigphp/Twig/pulls/1678/comments","review_comment_url":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twigphp/Twig/issues/1678/comments","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/2030482e4de86535dc8deeb123094bcac7fbc246","head":{"label":"SpacePossum:cleanups","ref":"cleanups","sha":"2030482e4de86535dc8deeb123094bcac7fbc246","user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"repo":{"id":30017667,"name":"Twig","full_name":"SpacePossum/Twig","owner":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SpacePossum/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":true,"url":"https://api.github.com/repos/SpacePossum/Twig","forks_url":"https://api.github.com/repos/SpacePossum/Twig/forks","keys_url":"https://api.github.com/repos/SpacePossum/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpacePossum/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpacePossum/Twig/teams","hooks_url":"https://api.github.com/repos/SpacePossum/Twig/hooks","issue_events_url":"https://api.github.com/repos/SpacePossum/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/SpacePossum/Twig/events","assignees_url":"https://api.github.com/repos/SpacePossum/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/SpacePossum/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/SpacePossum/Twig/tags","blobs_url":"https://api.github.com/repos/SpacePossum/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpacePossum/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpacePossum/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpacePossum/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpacePossum/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/SpacePossum/Twig/languages","stargazers_url":"https://api.github.com/repos/SpacePossum/Twig/stargazers","contributors_url":"https://api.github.com/repos/SpacePossum/Twig/contributors","subscribers_url":"https://api.github.com/repos/SpacePossum/Twig/subscribers","subscription_url":"https://api.github.com/repos/SpacePossum/Twig/subscription","commits_url":"https://api.github.com/repos/SpacePossum/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpacePossum/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpacePossum/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpacePossum/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpacePossum/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/SpacePossum/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpacePossum/Twig/merges","archive_url":"https://api.github.com/repos/SpacePossum/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpacePossum/Twig/downloads","issues_url":"https://api.github.com/repos/SpacePossum/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/SpacePossum/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/SpacePossum/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/SpacePossum/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpacePossum/Twig/labels{/name}","releases_url":"https://api.github.com/repos/SpacePossum/Twig/releases{/id}","created_at":"2015-01-29T11:44:00Z","updated_at":"2015-03-16T22:15:02Z","pushed_at":"2015-04-24T15:14:28Z","git_url":"git://github.com/SpacePossum/Twig.git","ssh_url":"git@github.com:SpacePossum/Twig.git","clone_url":"https://github.com/SpacePossum/Twig.git","svn_url":"https://github.com/SpacePossum/Twig","homepage":"http://twig.sensiolabs.org/","size":5472,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"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":"twigphp:1.x","ref":"1.x","sha":"7d5fe0fbd442f6bfc526260eb14ed99ea2a561f5","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}","created_at":"2009-10-07T21:23:38Z","updated_at":"2015-04-21T01:15:43Z","pushed_at":"2015-04-24T15:16:40Z","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":13140,"stargazers_count":2648,"watchers_count":2648,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":680,"mirror_url":null,"open_issues_count":91,"forks":680,"open_issues":91,"watchers":2648,"default_branch":"1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1678"},"html":{"href":"https://github.com/twigphp/Twig/pull/1678"},"issue":{"href":"https://api.github.com/repos/twigphp/Twig/issues/1678"},"comments":{"href":"https://api.github.com/repos/twigphp/Twig/issues/1678/comments"},"review_comments":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1678/comments"},"review_comment":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1678/commits"},"statuses":{"href":"https://api.github.com/repos/twigphp/Twig/statuses/2030482e4de86535dc8deeb123094bcac7fbc246"}}}}