{"action":"created","comment":{"url":"https://api.github.com/repos/refinery29/piston/pulls/comments/41270970","id":41270970,"diff_hunk":"@@ -0,0 +1,58 @@\n+<?php namespace Refinery29\\Piston\\Middleware;\n+\n+use Refinery29\\Piston\\Request;\n+use Refinery29\\Piston\\Response;\n+\n+class Subject\n+{\n+    /**\n+     * @var","path":"src/Middleware/Subject.php","position":9,"original_position":9,"commit_id":"a179b87bbdbe502c64aff683c5e391504dccb6e4","original_commit_id":"a179b87bbdbe502c64aff683c5e391504dccb6e4","user":{"login":"localheinz","id":605483,"avatar_url":"https://avatars.githubusercontent.com/u/605483?v=3","gravatar_id":"","url":"https://api.github.com/users/localheinz","html_url":"https://github.com/localheinz","followers_url":"https://api.github.com/users/localheinz/followers","following_url":"https://api.github.com/users/localheinz/following{/other_user}","gists_url":"https://api.github.com/users/localheinz/gists{/gist_id}","starred_url":"https://api.github.com/users/localheinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/localheinz/subscriptions","organizations_url":"https://api.github.com/users/localheinz/orgs","repos_url":"https://api.github.com/users/localheinz/repos","events_url":"https://api.github.com/users/localheinz/events{/privacy}","received_events_url":"https://api.github.com/users/localheinz/received_events","type":"User","site_admin":false},"body":"@kayladnls \r\n\r\nCan we update all of the property-level docblocks here to reflect the actual types?","created_at":"2015-10-06T14:29:32Z","updated_at":"2015-10-06T14:29:32Z","html_url":"https://github.com/refinery29/piston/pull/96#discussion_r41270970","pull_request_url":"https://api.github.com/repos/refinery29/piston/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/refinery29/piston/pulls/comments/41270970"},"html":{"href":"https://github.com/refinery29/piston/pull/96#discussion_r41270970"},"pull_request":{"href":"https://api.github.com/repos/refinery29/piston/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/refinery29/piston/pulls/96","id":46904890,"html_url":"https://github.com/refinery29/piston/pull/96","diff_url":"https://github.com/refinery29/piston/pull/96.diff","patch_url":"https://github.com/refinery29/piston/pull/96.patch","issue_url":"https://api.github.com/repos/refinery29/piston/issues/96","number":96,"state":"open","locked":false,"title":"Initial update to Piston for route 2.0","user":{"login":"kayladnls","id":1276798,"avatar_url":"https://avatars.githubusercontent.com/u/1276798?v=3","gravatar_id":"","url":"https://api.github.com/users/kayladnls","html_url":"https://github.com/kayladnls","followers_url":"https://api.github.com/users/kayladnls/followers","following_url":"https://api.github.com/users/kayladnls/following{/other_user}","gists_url":"https://api.github.com/users/kayladnls/gists{/gist_id}","starred_url":"https://api.github.com/users/kayladnls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayladnls/subscriptions","organizations_url":"https://api.github.com/users/kayladnls/orgs","repos_url":"https://api.github.com/users/kayladnls/repos","events_url":"https://api.github.com/users/kayladnls/events{/privacy}","received_events_url":"https://api.github.com/users/kayladnls/received_events","type":"User","site_admin":false},"body":"This PR: \r\n- [x] Updates to League/Route v2.0\r\n- [x] removes dependency on `symfony/http-foundation` in favor of `zendframework/diactoros`\r\n- [x] removes dependency on `kayladnls/seesaw`\r\n- [x] Removes the notion of decorators in favor of adding routes etc via middleware. \r\n- [x] simplified namespaces","created_at":"2015-10-06T13:50:04Z","updated_at":"2015-10-06T14:29:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"DanielHabib","id":8617779,"avatar_url":"https://avatars.githubusercontent.com/u/8617779?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielHabib","html_url":"https://github.com/DanielHabib","followers_url":"https://api.github.com/users/DanielHabib/followers","following_url":"https://api.github.com/users/DanielHabib/following{/other_user}","gists_url":"https://api.github.com/users/DanielHabib/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielHabib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielHabib/subscriptions","organizations_url":"https://api.github.com/users/DanielHabib/orgs","repos_url":"https://api.github.com/users/DanielHabib/repos","events_url":"https://api.github.com/users/DanielHabib/events{/privacy}","received_events_url":"https://api.github.com/users/DanielHabib/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/refinery29/piston/pulls/96/commits","review_comments_url":"https://api.github.com/repos/refinery29/piston/pulls/96/comments","review_comment_url":"https://api.github.com/repos/refinery29/piston/pulls/comments{/number}","comments_url":"https://api.github.com/repos/refinery29/piston/issues/96/comments","statuses_url":"https://api.github.com/repos/refinery29/piston/statuses/a179b87bbdbe502c64aff683c5e391504dccb6e4","head":{"label":"refinery29:v2.0","ref":"v2.0","sha":"a179b87bbdbe502c64aff683c5e391504dccb6e4","user":{"login":"refinery29","id":821624,"avatar_url":"https://avatars.githubusercontent.com/u/821624?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"repo":{"id":36875607,"name":"piston","full_name":"refinery29/piston","owner":{"login":"refinery29","id":821624,"avatar_url":"https://avatars.githubusercontent.com/u/821624?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery29/piston","description":":blue_car: Opinionated Micro Framework for APIs","fork":false,"url":"https://api.github.com/repos/refinery29/piston","forks_url":"https://api.github.com/repos/refinery29/piston/forks","keys_url":"https://api.github.com/repos/refinery29/piston/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery29/piston/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery29/piston/teams","hooks_url":"https://api.github.com/repos/refinery29/piston/hooks","issue_events_url":"https://api.github.com/repos/refinery29/piston/issues/events{/number}","events_url":"https://api.github.com/repos/refinery29/piston/events","assignees_url":"https://api.github.com/repos/refinery29/piston/assignees{/user}","branches_url":"https://api.github.com/repos/refinery29/piston/branches{/branch}","tags_url":"https://api.github.com/repos/refinery29/piston/tags","blobs_url":"https://api.github.com/repos/refinery29/piston/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery29/piston/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery29/piston/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery29/piston/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery29/piston/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery29/piston/languages","stargazers_url":"https://api.github.com/repos/refinery29/piston/stargazers","contributors_url":"https://api.github.com/repos/refinery29/piston/contributors","subscribers_url":"https://api.github.com/repos/refinery29/piston/subscribers","subscription_url":"https://api.github.com/repos/refinery29/piston/subscription","commits_url":"https://api.github.com/repos/refinery29/piston/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery29/piston/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery29/piston/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery29/piston/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery29/piston/contents/{+path}","compare_url":"https://api.github.com/repos/refinery29/piston/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery29/piston/merges","archive_url":"https://api.github.com/repos/refinery29/piston/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery29/piston/downloads","issues_url":"https://api.github.com/repos/refinery29/piston/issues{/number}","pulls_url":"https://api.github.com/repos/refinery29/piston/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery29/piston/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery29/piston/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery29/piston/labels{/name}","releases_url":"https://api.github.com/repos/refinery29/piston/releases{/id}","created_at":"2015-06-04T14:33:58Z","updated_at":"2015-09-10T20:59:48Z","pushed_at":"2015-10-06T14:27:23Z","git_url":"git://github.com/refinery29/piston.git","ssh_url":"git@github.com:refinery29/piston.git","clone_url":"https://github.com/refinery29/piston.git","svn_url":"https://github.com/refinery29/piston","homepage":"","size":1262,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":11,"default_branch":"master"}},"base":{"label":"refinery29:master","ref":"master","sha":"30fba129dd675869d061cf4387c3866f908122fd","user":{"login":"refinery29","id":821624,"avatar_url":"https://avatars.githubusercontent.com/u/821624?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"repo":{"id":36875607,"name":"piston","full_name":"refinery29/piston","owner":{"login":"refinery29","id":821624,"avatar_url":"https://avatars.githubusercontent.com/u/821624?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery29/piston","description":":blue_car: Opinionated Micro Framework for APIs","fork":false,"url":"https://api.github.com/repos/refinery29/piston","forks_url":"https://api.github.com/repos/refinery29/piston/forks","keys_url":"https://api.github.com/repos/refinery29/piston/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery29/piston/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery29/piston/teams","hooks_url":"https://api.github.com/repos/refinery29/piston/hooks","issue_events_url":"https://api.github.com/repos/refinery29/piston/issues/events{/number}","events_url":"https://api.github.com/repos/refinery29/piston/events","assignees_url":"https://api.github.com/repos/refinery29/piston/assignees{/user}","branches_url":"https://api.github.com/repos/refinery29/piston/branches{/branch}","tags_url":"https://api.github.com/repos/refinery29/piston/tags","blobs_url":"https://api.github.com/repos/refinery29/piston/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery29/piston/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery29/piston/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery29/piston/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery29/piston/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery29/piston/languages","stargazers_url":"https://api.github.com/repos/refinery29/piston/stargazers","contributors_url":"https://api.github.com/repos/refinery29/piston/contributors","subscribers_url":"https://api.github.com/repos/refinery29/piston/subscribers","subscription_url":"https://api.github.com/repos/refinery29/piston/subscription","commits_url":"https://api.github.com/repos/refinery29/piston/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery29/piston/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery29/piston/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery29/piston/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery29/piston/contents/{+path}","compare_url":"https://api.github.com/repos/refinery29/piston/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery29/piston/merges","archive_url":"https://api.github.com/repos/refinery29/piston/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery29/piston/downloads","issues_url":"https://api.github.com/repos/refinery29/piston/issues{/number}","pulls_url":"https://api.github.com/repos/refinery29/piston/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery29/piston/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery29/piston/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery29/piston/labels{/name}","releases_url":"https://api.github.com/repos/refinery29/piston/releases{/id}","created_at":"2015-06-04T14:33:58Z","updated_at":"2015-09-10T20:59:48Z","pushed_at":"2015-10-06T14:27:23Z","git_url":"git://github.com/refinery29/piston.git","ssh_url":"git@github.com:refinery29/piston.git","clone_url":"https://github.com/refinery29/piston.git","svn_url":"https://github.com/refinery29/piston","homepage":"","size":1262,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/refinery29/piston/pulls/96"},"html":{"href":"https://github.com/refinery29/piston/pull/96"},"issue":{"href":"https://api.github.com/repos/refinery29/piston/issues/96"},"comments":{"href":"https://api.github.com/repos/refinery29/piston/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/refinery29/piston/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/refinery29/piston/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/refinery29/piston/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/refinery29/piston/statuses/a179b87bbdbe502c64aff683c5e391504dccb6e4"}}}}