{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/bcosca/fatfree-core/pulls/17","id":27762590,"html_url":"https://github.com/bcosca/fatfree-core/pull/17","diff_url":"https://github.com/bcosca/fatfree-core/pull/17.diff","patch_url":"https://github.com/bcosca/fatfree-core/pull/17.patch","issue_url":"https://api.github.com/repos/bcosca/fatfree-core/issues/17","number":17,"state":"open","locked":false,"title":"Do not call a custom variable for `$this` (not allowed)","user":{"login":"sorbits","id":11901,"avatar_url":"https://avatars.githubusercontent.com/u/11901?v=3","gravatar_id":"","url":"https://api.github.com/users/sorbits","html_url":"https://github.com/sorbits","followers_url":"https://api.github.com/users/sorbits/followers","following_url":"https://api.github.com/users/sorbits/following{/other_user}","gists_url":"https://api.github.com/users/sorbits/gists{/gist_id}","starred_url":"https://api.github.com/users/sorbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorbits/subscriptions","organizations_url":"https://api.github.com/users/sorbits/orgs","repos_url":"https://api.github.com/users/sorbits/repos","events_url":"https://api.github.com/users/sorbits/events{/privacy}","received_events_url":"https://api.github.com/users/sorbits/received_events","type":"User","site_admin":false},"body":"Without this change the `redirect` function fails with the following message (using PHP 5.3.10):\r\n\r\n    Fatal error: Using $this when not in object context","created_at":"2015-01-21T14:23:12Z","updated_at":"2015-01-21T14:23:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcosca/fatfree-core/pulls/17/commits","review_comments_url":"https://api.github.com/repos/bcosca/fatfree-core/pulls/17/comments","review_comment_url":"https://api.github.com/repos/bcosca/fatfree-core/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bcosca/fatfree-core/issues/17/comments","statuses_url":"https://api.github.com/repos/bcosca/fatfree-core/statuses/df86fef4a3beb92dd6cc688a064c7e1d9d285109","head":{"label":"sorbits:master","ref":"master","sha":"df86fef4a3beb92dd6cc688a064c7e1d9d285109","user":{"login":"sorbits","id":11901,"avatar_url":"https://avatars.githubusercontent.com/u/11901?v=3","gravatar_id":"","url":"https://api.github.com/users/sorbits","html_url":"https://github.com/sorbits","followers_url":"https://api.github.com/users/sorbits/followers","following_url":"https://api.github.com/users/sorbits/following{/other_user}","gists_url":"https://api.github.com/users/sorbits/gists{/gist_id}","starred_url":"https://api.github.com/users/sorbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorbits/subscriptions","organizations_url":"https://api.github.com/users/sorbits/orgs","repos_url":"https://api.github.com/users/sorbits/repos","events_url":"https://api.github.com/users/sorbits/events{/privacy}","received_events_url":"https://api.github.com/users/sorbits/received_events","type":"User","site_admin":false},"repo":{"id":29178919,"name":"fatfree-core","full_name":"sorbits/fatfree-core","owner":{"login":"sorbits","id":11901,"avatar_url":"https://avatars.githubusercontent.com/u/11901?v=3","gravatar_id":"","url":"https://api.github.com/users/sorbits","html_url":"https://github.com/sorbits","followers_url":"https://api.github.com/users/sorbits/followers","following_url":"https://api.github.com/users/sorbits/following{/other_user}","gists_url":"https://api.github.com/users/sorbits/gists{/gist_id}","starred_url":"https://api.github.com/users/sorbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorbits/subscriptions","organizations_url":"https://api.github.com/users/sorbits/orgs","repos_url":"https://api.github.com/users/sorbits/repos","events_url":"https://api.github.com/users/sorbits/events{/privacy}","received_events_url":"https://api.github.com/users/sorbits/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sorbits/fatfree-core","description":"Fat-Free Framework core library","fork":true,"url":"https://api.github.com/repos/sorbits/fatfree-core","forks_url":"https://api.github.com/repos/sorbits/fatfree-core/forks","keys_url":"https://api.github.com/repos/sorbits/fatfree-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sorbits/fatfree-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sorbits/fatfree-core/teams","hooks_url":"https://api.github.com/repos/sorbits/fatfree-core/hooks","issue_events_url":"https://api.github.com/repos/sorbits/fatfree-core/issues/events{/number}","events_url":"https://api.github.com/repos/sorbits/fatfree-core/events","assignees_url":"https://api.github.com/repos/sorbits/fatfree-core/assignees{/user}","branches_url":"https://api.github.com/repos/sorbits/fatfree-core/branches{/branch}","tags_url":"https://api.github.com/repos/sorbits/fatfree-core/tags","blobs_url":"https://api.github.com/repos/sorbits/fatfree-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sorbits/fatfree-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sorbits/fatfree-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/sorbits/fatfree-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sorbits/fatfree-core/statuses/{sha}","languages_url":"https://api.github.com/repos/sorbits/fatfree-core/languages","stargazers_url":"https://api.github.com/repos/sorbits/fatfree-core/stargazers","contributors_url":"https://api.github.com/repos/sorbits/fatfree-core/contributors","subscribers_url":"https://api.github.com/repos/sorbits/fatfree-core/subscribers","subscription_url":"https://api.github.com/repos/sorbits/fatfree-core/subscription","commits_url":"https://api.github.com/repos/sorbits/fatfree-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/sorbits/fatfree-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/sorbits/fatfree-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/sorbits/fatfree-core/issues/comments/{number}","contents_url":"https://api.github.com/repos/sorbits/fatfree-core/contents/{+path}","compare_url":"https://api.github.com/repos/sorbits/fatfree-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sorbits/fatfree-core/merges","archive_url":"https://api.github.com/repos/sorbits/fatfree-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sorbits/fatfree-core/downloads","issues_url":"https://api.github.com/repos/sorbits/fatfree-core/issues{/number}","pulls_url":"https://api.github.com/repos/sorbits/fatfree-core/pulls{/number}","milestones_url":"https://api.github.com/repos/sorbits/fatfree-core/milestones{/number}","notifications_url":"https://api.github.com/repos/sorbits/fatfree-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sorbits/fatfree-core/labels{/name}","releases_url":"https://api.github.com/repos/sorbits/fatfree-core/releases{/id}","created_at":"2015-01-13T07:54:29Z","updated_at":"2015-01-21T13:40:58Z","pushed_at":"2015-01-21T13:41:48Z","git_url":"git://github.com/sorbits/fatfree-core.git","ssh_url":"git@github.com:sorbits/fatfree-core.git","clone_url":"https://github.com/sorbits/fatfree-core.git","svn_url":"https://github.com/sorbits/fatfree-core","homepage":null,"size":688,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"bcosca:master","ref":"master","sha":"307c19bbb32c403c16e5b2c9575ed716faa9ed7b","user":{"login":"bcosca","id":199570,"avatar_url":"https://avatars.githubusercontent.com/u/199570?v=3","gravatar_id":"","url":"https://api.github.com/users/bcosca","html_url":"https://github.com/bcosca","followers_url":"https://api.github.com/users/bcosca/followers","following_url":"https://api.github.com/users/bcosca/following{/other_user}","gists_url":"https://api.github.com/users/bcosca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcosca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcosca/subscriptions","organizations_url":"https://api.github.com/users/bcosca/orgs","repos_url":"https://api.github.com/users/bcosca/repos","events_url":"https://api.github.com/users/bcosca/events{/privacy}","received_events_url":"https://api.github.com/users/bcosca/received_events","type":"User","site_admin":false},"repo":{"id":26320119,"name":"fatfree-core","full_name":"bcosca/fatfree-core","owner":{"login":"bcosca","id":199570,"avatar_url":"https://avatars.githubusercontent.com/u/199570?v=3","gravatar_id":"","url":"https://api.github.com/users/bcosca","html_url":"https://github.com/bcosca","followers_url":"https://api.github.com/users/bcosca/followers","following_url":"https://api.github.com/users/bcosca/following{/other_user}","gists_url":"https://api.github.com/users/bcosca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcosca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcosca/subscriptions","organizations_url":"https://api.github.com/users/bcosca/orgs","repos_url":"https://api.github.com/users/bcosca/repos","events_url":"https://api.github.com/users/bcosca/events{/privacy}","received_events_url":"https://api.github.com/users/bcosca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcosca/fatfree-core","description":"Fat-Free Framework core library","fork":false,"url":"https://api.github.com/repos/bcosca/fatfree-core","forks_url":"https://api.github.com/repos/bcosca/fatfree-core/forks","keys_url":"https://api.github.com/repos/bcosca/fatfree-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcosca/fatfree-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcosca/fatfree-core/teams","hooks_url":"https://api.github.com/repos/bcosca/fatfree-core/hooks","issue_events_url":"https://api.github.com/repos/bcosca/fatfree-core/issues/events{/number}","events_url":"https://api.github.com/repos/bcosca/fatfree-core/events","assignees_url":"https://api.github.com/repos/bcosca/fatfree-core/assignees{/user}","branches_url":"https://api.github.com/repos/bcosca/fatfree-core/branches{/branch}","tags_url":"https://api.github.com/repos/bcosca/fatfree-core/tags","blobs_url":"https://api.github.com/repos/bcosca/fatfree-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcosca/fatfree-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcosca/fatfree-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcosca/fatfree-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcosca/fatfree-core/statuses/{sha}","languages_url":"https://api.github.com/repos/bcosca/fatfree-core/languages","stargazers_url":"https://api.github.com/repos/bcosca/fatfree-core/stargazers","contributors_url":"https://api.github.com/repos/bcosca/fatfree-core/contributors","subscribers_url":"https://api.github.com/repos/bcosca/fatfree-core/subscribers","subscription_url":"https://api.github.com/repos/bcosca/fatfree-core/subscription","commits_url":"https://api.github.com/repos/bcosca/fatfree-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcosca/fatfree-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcosca/fatfree-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcosca/fatfree-core/issues/comments/{number}","contents_url":"https://api.github.com/repos/bcosca/fatfree-core/contents/{+path}","compare_url":"https://api.github.com/repos/bcosca/fatfree-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcosca/fatfree-core/merges","archive_url":"https://api.github.com/repos/bcosca/fatfree-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcosca/fatfree-core/downloads","issues_url":"https://api.github.com/repos/bcosca/fatfree-core/issues{/number}","pulls_url":"https://api.github.com/repos/bcosca/fatfree-core/pulls{/number}","milestones_url":"https://api.github.com/repos/bcosca/fatfree-core/milestones{/number}","notifications_url":"https://api.github.com/repos/bcosca/fatfree-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcosca/fatfree-core/labels{/name}","releases_url":"https://api.github.com/repos/bcosca/fatfree-core/releases{/id}","created_at":"2014-11-07T13:08:48Z","updated_at":"2015-01-17T00:00:06Z","pushed_at":"2015-01-17T00:00:06Z","git_url":"git://github.com/bcosca/fatfree-core.git","ssh_url":"git@github.com:bcosca/fatfree-core.git","clone_url":"https://github.com/bcosca/fatfree-core.git","svn_url":"https://github.com/bcosca/fatfree-core","homepage":null,"size":1011,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcosca/fatfree-core/pulls/17"},"html":{"href":"https://github.com/bcosca/fatfree-core/pull/17"},"issue":{"href":"https://api.github.com/repos/bcosca/fatfree-core/issues/17"},"comments":{"href":"https://api.github.com/repos/bcosca/fatfree-core/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/bcosca/fatfree-core/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/bcosca/fatfree-core/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bcosca/fatfree-core/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/bcosca/fatfree-core/statuses/df86fef4a3beb92dd6cc688a064c7e1d9d285109"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}