{"action":"created","comment":{"url":"https://api.github.com/repos/jgrossi/corcel/pulls/comments/59044341","id":59044341,"diff_hunk":"@@ -176,4 +176,19 @@ public function testPostRelationConnections()\n \n         $this->assertEquals('no_prefix', $post->author->getConnectionName());\n     }\n+\n+    public function testMenuItemActsAsObjectFacadeForTitleAndSlug()","path":"tests/PostTest.php","position":5,"original_position":5,"commit_id":"03bef09dc2cc4329197303674af4cdc5a08b420a","original_commit_id":"03bef09dc2cc4329197303674af4cdc5a08b420a","user":{"login":"jgrossi","id":1175275,"avatar_url":"https://avatars.githubusercontent.com/u/1175275?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrossi","html_url":"https://github.com/jgrossi","followers_url":"https://api.github.com/users/jgrossi/followers","following_url":"https://api.github.com/users/jgrossi/following{/other_user}","gists_url":"https://api.github.com/users/jgrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrossi/subscriptions","organizations_url":"https://api.github.com/users/jgrossi/orgs","repos_url":"https://api.github.com/users/jgrossi/repos","events_url":"https://api.github.com/users/jgrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jgrossi/received_events","type":"User","site_admin":false},"body":"What type of menu testing are you making here? It's better to make menu tests inside `tests/MenuTest.php`.","created_at":"2016-04-08T15:37:54Z","updated_at":"2016-04-08T15:37:54Z","html_url":"https://github.com/jgrossi/corcel/pull/118#discussion_r59044341","pull_request_url":"https://api.github.com/repos/jgrossi/corcel/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/jgrossi/corcel/pulls/comments/59044341"},"html":{"href":"https://github.com/jgrossi/corcel/pull/118#discussion_r59044341"},"pull_request":{"href":"https://api.github.com/repos/jgrossi/corcel/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/jgrossi/corcel/pulls/118","id":65770339,"html_url":"https://github.com/jgrossi/corcel/pull/118","diff_url":"https://github.com/jgrossi/corcel/pull/118.diff","patch_url":"https://github.com/jgrossi/corcel/pull/118.patch","issue_url":"https://api.github.com/repos/jgrossi/corcel/issues/118","number":118,"state":"open","locked":false,"title":"refactor Post::__get in order to simplify logic for menu items","user":{"login":"vognev","id":679032,"avatar_url":"https://avatars.githubusercontent.com/u/679032?v=3","gravatar_id":"","url":"https://api.github.com/users/vognev","html_url":"https://github.com/vognev","followers_url":"https://api.github.com/users/vognev/followers","following_url":"https://api.github.com/users/vognev/following{/other_user}","gists_url":"https://api.github.com/users/vognev/gists{/gist_id}","starred_url":"https://api.github.com/users/vognev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vognev/subscriptions","organizations_url":"https://api.github.com/users/vognev/orgs","repos_url":"https://api.github.com/users/vognev/repos","events_url":"https://api.github.com/users/vognev/events{/privacy}","received_events_url":"https://api.github.com/users/vognev/received_events","type":"User","site_admin":false},"body":"please check this pr, i think it somehow simplifies Post::__get() logic\r\nalso, tests cover as much as possible with current db dump ","created_at":"2016-04-08T11:05:42Z","updated_at":"2016-04-08T15:37:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df292bba91a75ee36a3954171f12cf9345ea8a5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jgrossi/corcel/pulls/118/commits","review_comments_url":"https://api.github.com/repos/jgrossi/corcel/pulls/118/comments","review_comment_url":"https://api.github.com/repos/jgrossi/corcel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jgrossi/corcel/issues/118/comments","statuses_url":"https://api.github.com/repos/jgrossi/corcel/statuses/03bef09dc2cc4329197303674af4cdc5a08b420a","head":{"label":"vognev:pr/fix_magic_get","ref":"pr/fix_magic_get","sha":"03bef09dc2cc4329197303674af4cdc5a08b420a","user":{"login":"vognev","id":679032,"avatar_url":"https://avatars.githubusercontent.com/u/679032?v=3","gravatar_id":"","url":"https://api.github.com/users/vognev","html_url":"https://github.com/vognev","followers_url":"https://api.github.com/users/vognev/followers","following_url":"https://api.github.com/users/vognev/following{/other_user}","gists_url":"https://api.github.com/users/vognev/gists{/gist_id}","starred_url":"https://api.github.com/users/vognev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vognev/subscriptions","organizations_url":"https://api.github.com/users/vognev/orgs","repos_url":"https://api.github.com/users/vognev/repos","events_url":"https://api.github.com/users/vognev/events{/privacy}","received_events_url":"https://api.github.com/users/vognev/received_events","type":"User","site_admin":false},"repo":{"id":55757192,"name":"corcel","full_name":"vognev/corcel","owner":{"login":"vognev","id":679032,"avatar_url":"https://avatars.githubusercontent.com/u/679032?v=3","gravatar_id":"","url":"https://api.github.com/users/vognev","html_url":"https://github.com/vognev","followers_url":"https://api.github.com/users/vognev/followers","following_url":"https://api.github.com/users/vognev/following{/other_user}","gists_url":"https://api.github.com/users/vognev/gists{/gist_id}","starred_url":"https://api.github.com/users/vognev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vognev/subscriptions","organizations_url":"https://api.github.com/users/vognev/orgs","repos_url":"https://api.github.com/users/vognev/repos","events_url":"https://api.github.com/users/vognev/events{/privacy}","received_events_url":"https://api.github.com/users/vognev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vognev/corcel","description":"Use WordPress backend with any PHP framework","fork":true,"url":"https://api.github.com/repos/vognev/corcel","forks_url":"https://api.github.com/repos/vognev/corcel/forks","keys_url":"https://api.github.com/repos/vognev/corcel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vognev/corcel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vognev/corcel/teams","hooks_url":"https://api.github.com/repos/vognev/corcel/hooks","issue_events_url":"https://api.github.com/repos/vognev/corcel/issues/events{/number}","events_url":"https://api.github.com/repos/vognev/corcel/events","assignees_url":"https://api.github.com/repos/vognev/corcel/assignees{/user}","branches_url":"https://api.github.com/repos/vognev/corcel/branches{/branch}","tags_url":"https://api.github.com/repos/vognev/corcel/tags","blobs_url":"https://api.github.com/repos/vognev/corcel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vognev/corcel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vognev/corcel/git/refs{/sha}","trees_url":"https://api.github.com/repos/vognev/corcel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vognev/corcel/statuses/{sha}","languages_url":"https://api.github.com/repos/vognev/corcel/languages","stargazers_url":"https://api.github.com/repos/vognev/corcel/stargazers","contributors_url":"https://api.github.com/repos/vognev/corcel/contributors","subscribers_url":"https://api.github.com/repos/vognev/corcel/subscribers","subscription_url":"https://api.github.com/repos/vognev/corcel/subscription","commits_url":"https://api.github.com/repos/vognev/corcel/commits{/sha}","git_commits_url":"https://api.github.com/repos/vognev/corcel/git/commits{/sha}","comments_url":"https://api.github.com/repos/vognev/corcel/comments{/number}","issue_comment_url":"https://api.github.com/repos/vognev/corcel/issues/comments{/number}","contents_url":"https://api.github.com/repos/vognev/corcel/contents/{+path}","compare_url":"https://api.github.com/repos/vognev/corcel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vognev/corcel/merges","archive_url":"https://api.github.com/repos/vognev/corcel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vognev/corcel/downloads","issues_url":"https://api.github.com/repos/vognev/corcel/issues{/number}","pulls_url":"https://api.github.com/repos/vognev/corcel/pulls{/number}","milestones_url":"https://api.github.com/repos/vognev/corcel/milestones{/number}","notifications_url":"https://api.github.com/repos/vognev/corcel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vognev/corcel/labels{/name}","releases_url":"https://api.github.com/repos/vognev/corcel/releases{/id}","deployments_url":"https://api.github.com/repos/vognev/corcel/deployments","created_at":"2016-04-08T06:52:20Z","updated_at":"2016-04-08T06:52:21Z","pushed_at":"2016-04-08T11:03:26Z","git_url":"git://github.com/vognev/corcel.git","ssh_url":"git@github.com:vognev/corcel.git","clone_url":"https://github.com/vognev/corcel.git","svn_url":"https://github.com/vognev/corcel","homepage":"","size":461,"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":"jgrossi:master","ref":"master","sha":"a86484567c059b1d5562fbc2fff3e4b1c83e699d","user":{"login":"jgrossi","id":1175275,"avatar_url":"https://avatars.githubusercontent.com/u/1175275?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrossi","html_url":"https://github.com/jgrossi","followers_url":"https://api.github.com/users/jgrossi/followers","following_url":"https://api.github.com/users/jgrossi/following{/other_user}","gists_url":"https://api.github.com/users/jgrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrossi/subscriptions","organizations_url":"https://api.github.com/users/jgrossi/orgs","repos_url":"https://api.github.com/users/jgrossi/repos","events_url":"https://api.github.com/users/jgrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jgrossi/received_events","type":"User","site_admin":false},"repo":{"id":10728912,"name":"corcel","full_name":"jgrossi/corcel","owner":{"login":"jgrossi","id":1175275,"avatar_url":"https://avatars.githubusercontent.com/u/1175275?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrossi","html_url":"https://github.com/jgrossi","followers_url":"https://api.github.com/users/jgrossi/followers","following_url":"https://api.github.com/users/jgrossi/following{/other_user}","gists_url":"https://api.github.com/users/jgrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrossi/subscriptions","organizations_url":"https://api.github.com/users/jgrossi/orgs","repos_url":"https://api.github.com/users/jgrossi/repos","events_url":"https://api.github.com/users/jgrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jgrossi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgrossi/corcel","description":"Use WordPress backend with any PHP framework","fork":false,"url":"https://api.github.com/repos/jgrossi/corcel","forks_url":"https://api.github.com/repos/jgrossi/corcel/forks","keys_url":"https://api.github.com/repos/jgrossi/corcel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgrossi/corcel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgrossi/corcel/teams","hooks_url":"https://api.github.com/repos/jgrossi/corcel/hooks","issue_events_url":"https://api.github.com/repos/jgrossi/corcel/issues/events{/number}","events_url":"https://api.github.com/repos/jgrossi/corcel/events","assignees_url":"https://api.github.com/repos/jgrossi/corcel/assignees{/user}","branches_url":"https://api.github.com/repos/jgrossi/corcel/branches{/branch}","tags_url":"https://api.github.com/repos/jgrossi/corcel/tags","blobs_url":"https://api.github.com/repos/jgrossi/corcel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgrossi/corcel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgrossi/corcel/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgrossi/corcel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgrossi/corcel/statuses/{sha}","languages_url":"https://api.github.com/repos/jgrossi/corcel/languages","stargazers_url":"https://api.github.com/repos/jgrossi/corcel/stargazers","contributors_url":"https://api.github.com/repos/jgrossi/corcel/contributors","subscribers_url":"https://api.github.com/repos/jgrossi/corcel/subscribers","subscription_url":"https://api.github.com/repos/jgrossi/corcel/subscription","commits_url":"https://api.github.com/repos/jgrossi/corcel/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgrossi/corcel/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgrossi/corcel/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgrossi/corcel/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgrossi/corcel/contents/{+path}","compare_url":"https://api.github.com/repos/jgrossi/corcel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgrossi/corcel/merges","archive_url":"https://api.github.com/repos/jgrossi/corcel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgrossi/corcel/downloads","issues_url":"https://api.github.com/repos/jgrossi/corcel/issues{/number}","pulls_url":"https://api.github.com/repos/jgrossi/corcel/pulls{/number}","milestones_url":"https://api.github.com/repos/jgrossi/corcel/milestones{/number}","notifications_url":"https://api.github.com/repos/jgrossi/corcel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgrossi/corcel/labels{/name}","releases_url":"https://api.github.com/repos/jgrossi/corcel/releases{/id}","deployments_url":"https://api.github.com/repos/jgrossi/corcel/deployments","created_at":"2013-06-17T02:43:12Z","updated_at":"2016-04-08T08:51:26Z","pushed_at":"2016-04-08T11:05:42Z","git_url":"git://github.com/jgrossi/corcel.git","ssh_url":"git@github.com:jgrossi/corcel.git","clone_url":"https://github.com/jgrossi/corcel.git","svn_url":"https://github.com/jgrossi/corcel","homepage":"","size":474,"stargazers_count":519,"watchers_count":519,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":12,"forks":91,"open_issues":12,"watchers":519,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jgrossi/corcel/pulls/118"},"html":{"href":"https://github.com/jgrossi/corcel/pull/118"},"issue":{"href":"https://api.github.com/repos/jgrossi/corcel/issues/118"},"comments":{"href":"https://api.github.com/repos/jgrossi/corcel/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/jgrossi/corcel/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/jgrossi/corcel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jgrossi/corcel/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/jgrossi/corcel/statuses/03bef09dc2cc4329197303674af4cdc5a08b420a"}}}}