{"action":"reopened","number":3242,"pull_request":{"url":"https://api.github.com/repos/laravel/laravel/pulls/3242","id":28635411,"html_url":"https://github.com/laravel/laravel/pull/3242","diff_url":"https://github.com/laravel/laravel/pull/3242.diff","patch_url":"https://github.com/laravel/laravel/pull/3242.patch","issue_url":"https://api.github.com/repos/laravel/laravel/issues/3242","number":3242,"state":"open","locked":false,"title":"resolve phpmd static access warning","user":{"login":"le6o","id":103849,"avatar_url":"https://avatars.githubusercontent.com/u/103849?v=3","gravatar_id":"","url":"https://api.github.com/users/le6o","html_url":"https://github.com/le6o","followers_url":"https://api.github.com/users/le6o/followers","following_url":"https://api.github.com/users/le6o/following{/other_user}","gists_url":"https://api.github.com/users/le6o/gists{/gist_id}","starred_url":"https://api.github.com/users/le6o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le6o/subscriptions","organizations_url":"https://api.github.com/users/le6o/orgs","repos_url":"https://api.github.com/users/le6o/repos","events_url":"https://api.github.com/users/le6o/events{/privacy}","received_events_url":"https://api.github.com/users/le6o/received_events","type":"User","site_admin":false},"body":"PHPMD raises a [Static Access warning](https://github.com/phpmd/phpmd/blob/5d06695148d2203f56b27a5205ab87ce6a594a22/src/main/resources/rulesets/cleancode.xml#L69) for this line. It's only a problem for people using PHPMD, so appreciate the change could be made individually.\r\n\r\nThat said, if this is the only use case for the simpleMapping method then it could be changed to a non-static call within the framework.","created_at":"2015-02-04T12:43:33Z","updated_at":"2015-02-04T18:54:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e105f2d7cdcd14ed0611041deabf11f60b5ca6a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/laravel/pulls/3242/commits","review_comments_url":"https://api.github.com/repos/laravel/laravel/pulls/3242/comments","review_comment_url":"https://api.github.com/repos/laravel/laravel/pulls/comments/{number}","comments_url":"https://api.github.com/repos/laravel/laravel/issues/3242/comments","statuses_url":"https://api.github.com/repos/laravel/laravel/statuses/45b684291153d4aafeddb22dbb979930759a7da0","head":{"label":"le6o:patch-1","ref":"patch-1","sha":"45b684291153d4aafeddb22dbb979930759a7da0","user":{"login":"le6o","id":103849,"avatar_url":"https://avatars.githubusercontent.com/u/103849?v=3","gravatar_id":"","url":"https://api.github.com/users/le6o","html_url":"https://github.com/le6o","followers_url":"https://api.github.com/users/le6o/followers","following_url":"https://api.github.com/users/le6o/following{/other_user}","gists_url":"https://api.github.com/users/le6o/gists{/gist_id}","starred_url":"https://api.github.com/users/le6o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le6o/subscriptions","organizations_url":"https://api.github.com/users/le6o/orgs","repos_url":"https://api.github.com/users/le6o/repos","events_url":"https://api.github.com/users/le6o/events{/privacy}","received_events_url":"https://api.github.com/users/le6o/received_events","type":"User","site_admin":false},"repo":{"id":30294991,"name":"laravel","full_name":"le6o/laravel","owner":{"login":"le6o","id":103849,"avatar_url":"https://avatars.githubusercontent.com/u/103849?v=3","gravatar_id":"","url":"https://api.github.com/users/le6o","html_url":"https://github.com/le6o","followers_url":"https://api.github.com/users/le6o/followers","following_url":"https://api.github.com/users/le6o/following{/other_user}","gists_url":"https://api.github.com/users/le6o/gists{/gist_id}","starred_url":"https://api.github.com/users/le6o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le6o/subscriptions","organizations_url":"https://api.github.com/users/le6o/orgs","repos_url":"https://api.github.com/users/le6o/repos","events_url":"https://api.github.com/users/le6o/events{/privacy}","received_events_url":"https://api.github.com/users/le6o/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/le6o/laravel","description":"A PHP Framework For Web Artisans","fork":true,"url":"https://api.github.com/repos/le6o/laravel","forks_url":"https://api.github.com/repos/le6o/laravel/forks","keys_url":"https://api.github.com/repos/le6o/laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/le6o/laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/le6o/laravel/teams","hooks_url":"https://api.github.com/repos/le6o/laravel/hooks","issue_events_url":"https://api.github.com/repos/le6o/laravel/issues/events{/number}","events_url":"https://api.github.com/repos/le6o/laravel/events","assignees_url":"https://api.github.com/repos/le6o/laravel/assignees{/user}","branches_url":"https://api.github.com/repos/le6o/laravel/branches{/branch}","tags_url":"https://api.github.com/repos/le6o/laravel/tags","blobs_url":"https://api.github.com/repos/le6o/laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/le6o/laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/le6o/laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/le6o/laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/le6o/laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/le6o/laravel/languages","stargazers_url":"https://api.github.com/repos/le6o/laravel/stargazers","contributors_url":"https://api.github.com/repos/le6o/laravel/contributors","subscribers_url":"https://api.github.com/repos/le6o/laravel/subscribers","subscription_url":"https://api.github.com/repos/le6o/laravel/subscription","commits_url":"https://api.github.com/repos/le6o/laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/le6o/laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/le6o/laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/le6o/laravel/issues/comments/{number}","contents_url":"https://api.github.com/repos/le6o/laravel/contents/{+path}","compare_url":"https://api.github.com/repos/le6o/laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/le6o/laravel/merges","archive_url":"https://api.github.com/repos/le6o/laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/le6o/laravel/downloads","issues_url":"https://api.github.com/repos/le6o/laravel/issues{/number}","pulls_url":"https://api.github.com/repos/le6o/laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/le6o/laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/le6o/laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/le6o/laravel/labels{/name}","releases_url":"https://api.github.com/repos/le6o/laravel/releases{/id}","created_at":"2015-02-04T11:09:00Z","updated_at":"2015-02-04T11:09:02Z","pushed_at":"2015-02-04T11:20:59Z","git_url":"git://github.com/le6o/laravel.git","ssh_url":"git@github.com:le6o/laravel.git","clone_url":"https://github.com/le6o/laravel.git","svn_url":"https://github.com/le6o/laravel","homepage":"http://laravel.com","size":9651,"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":"laravel:develop","ref":"develop","sha":"009c2fbd2635ad23aff1338a21fcfc182c72cf87","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":1863329,"name":"laravel","full_name":"laravel/laravel","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/laravel","description":"A PHP Framework For Web Artisans","fork":false,"url":"https://api.github.com/repos/laravel/laravel","forks_url":"https://api.github.com/repos/laravel/laravel/forks","keys_url":"https://api.github.com/repos/laravel/laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/laravel/teams","hooks_url":"https://api.github.com/repos/laravel/laravel/hooks","issue_events_url":"https://api.github.com/repos/laravel/laravel/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/laravel/events","assignees_url":"https://api.github.com/repos/laravel/laravel/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/laravel/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/laravel/tags","blobs_url":"https://api.github.com/repos/laravel/laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/laravel/languages","stargazers_url":"https://api.github.com/repos/laravel/laravel/stargazers","contributors_url":"https://api.github.com/repos/laravel/laravel/contributors","subscribers_url":"https://api.github.com/repos/laravel/laravel/subscribers","subscription_url":"https://api.github.com/repos/laravel/laravel/subscription","commits_url":"https://api.github.com/repos/laravel/laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/laravel/issues/comments/{number}","contents_url":"https://api.github.com/repos/laravel/laravel/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/laravel/merges","archive_url":"https://api.github.com/repos/laravel/laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/laravel/downloads","issues_url":"https://api.github.com/repos/laravel/laravel/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/laravel/labels{/name}","releases_url":"https://api.github.com/repos/laravel/laravel/releases{/id}","created_at":"2011-06-08T03:06:08Z","updated_at":"2015-02-04T18:43:15Z","pushed_at":"2015-02-04T14:19:33Z","git_url":"git://github.com/laravel/laravel.git","ssh_url":"git@github.com:laravel/laravel.git","clone_url":"https://github.com/laravel/laravel.git","svn_url":"https://github.com/laravel/laravel","homepage":"http://laravel.com","size":27245,"stargazers_count":14318,"watchers_count":14318,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4657,"mirror_url":null,"open_issues_count":43,"forks":4657,"open_issues":43,"watchers":14318,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/laravel/pulls/3242"},"html":{"href":"https://github.com/laravel/laravel/pull/3242"},"issue":{"href":"https://api.github.com/repos/laravel/laravel/issues/3242"},"comments":{"href":"https://api.github.com/repos/laravel/laravel/issues/3242/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/laravel/pulls/3242/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/laravel/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/laravel/laravel/pulls/3242/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/laravel/statuses/45b684291153d4aafeddb22dbb979930759a7da0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}