{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/friendica/dir/pulls/61","id":242122889,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMTIyODg5","html_url":"https://github.com/friendica/dir/pull/61","diff_url":"https://github.com/friendica/dir/pull/61.diff","patch_url":"https://github.com/friendica/dir/pull/61.patch","issue_url":"https://api.github.com/repos/friendica/dir/issues/61","number":61,"state":"closed","locked":false,"title":"Cleanups of \"use\" and \"new\" statements","user":{"login":"Quix0r","id":470798,"node_id":"MDQ6VXNlcjQ3MDc5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/470798?v=4","gravatar_id":"","url":"https://api.github.com/users/Quix0r","html_url":"https://github.com/Quix0r","followers_url":"https://api.github.com/users/Quix0r/followers","following_url":"https://api.github.com/users/Quix0r/following{/other_user}","gists_url":"https://api.github.com/users/Quix0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Quix0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quix0r/subscriptions","organizations_url":"https://api.github.com/users/Quix0r/orgs","repos_url":"https://api.github.com/users/Quix0r/repos","events_url":"https://api.github.com/users/Quix0r/events{/privacy}","received_events_url":"https://api.github.com/users/Quix0r/received_events","type":"User","site_admin":false},"body":"Some cleanups:\r\n- \"use\" should be executed before any other line (except strict mode line)\r\n- \"import\" App class before use it\r\n- sure braces with \"new\" operator as this invokes the constructor\r\n- set CHMOD 777 for Shell script\r\n","created_at":"2019-01-03T22:00:30Z","updated_at":"2019-01-04T00:42:37Z","closed_at":"2019-01-04T00:42:37Z","merged_at":"2019-01-04T00:42:37Z","merge_commit_sha":"abda067ca1563d6adcc8e2f5021798c0fb46cdd0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/friendica/dir/pulls/61/commits","review_comments_url":"https://api.github.com/repos/friendica/dir/pulls/61/comments","review_comment_url":"https://api.github.com/repos/friendica/dir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/friendica/dir/issues/61/comments","statuses_url":"https://api.github.com/repos/friendica/dir/statuses/e13182d91384a9e3f02f9b6c7b0c70d159b20b13","head":{"label":"Quix0r:cleanups/use-app-class","ref":"cleanups/use-app-class","sha":"e13182d91384a9e3f02f9b6c7b0c70d159b20b13","user":{"login":"Quix0r","id":470798,"node_id":"MDQ6VXNlcjQ3MDc5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/470798?v=4","gravatar_id":"","url":"https://api.github.com/users/Quix0r","html_url":"https://github.com/Quix0r","followers_url":"https://api.github.com/users/Quix0r/followers","following_url":"https://api.github.com/users/Quix0r/following{/other_user}","gists_url":"https://api.github.com/users/Quix0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Quix0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quix0r/subscriptions","organizations_url":"https://api.github.com/users/Quix0r/orgs","repos_url":"https://api.github.com/users/Quix0r/repos","events_url":"https://api.github.com/users/Quix0r/events{/privacy}","received_events_url":"https://api.github.com/users/Quix0r/received_events","type":"User","site_admin":false},"repo":{"id":83561058,"node_id":"MDEwOlJlcG9zaXRvcnk4MzU2MTA1OA==","name":"dir","full_name":"Quix0r/dir","private":false,"owner":{"login":"Quix0r","id":470798,"node_id":"MDQ6VXNlcjQ3MDc5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/470798?v=4","gravatar_id":"","url":"https://api.github.com/users/Quix0r","html_url":"https://github.com/Quix0r","followers_url":"https://api.github.com/users/Quix0r/followers","following_url":"https://api.github.com/users/Quix0r/following{/other_user}","gists_url":"https://api.github.com/users/Quix0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Quix0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quix0r/subscriptions","organizations_url":"https://api.github.com/users/Quix0r/orgs","repos_url":"https://api.github.com/users/Quix0r/repos","events_url":"https://api.github.com/users/Quix0r/events{/privacy}","received_events_url":"https://api.github.com/users/Quix0r/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Quix0r/dir","description":"Friendica Global Directory","fork":true,"url":"https://api.github.com/repos/Quix0r/dir","forks_url":"https://api.github.com/repos/Quix0r/dir/forks","keys_url":"https://api.github.com/repos/Quix0r/dir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Quix0r/dir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Quix0r/dir/teams","hooks_url":"https://api.github.com/repos/Quix0r/dir/hooks","issue_events_url":"https://api.github.com/repos/Quix0r/dir/issues/events{/number}","events_url":"https://api.github.com/repos/Quix0r/dir/events","assignees_url":"https://api.github.com/repos/Quix0r/dir/assignees{/user}","branches_url":"https://api.github.com/repos/Quix0r/dir/branches{/branch}","tags_url":"https://api.github.com/repos/Quix0r/dir/tags","blobs_url":"https://api.github.com/repos/Quix0r/dir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Quix0r/dir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Quix0r/dir/git/refs{/sha}","trees_url":"https://api.github.com/repos/Quix0r/dir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Quix0r/dir/statuses/{sha}","languages_url":"https://api.github.com/repos/Quix0r/dir/languages","stargazers_url":"https://api.github.com/repos/Quix0r/dir/stargazers","contributors_url":"https://api.github.com/repos/Quix0r/dir/contributors","subscribers_url":"https://api.github.com/repos/Quix0r/dir/subscribers","subscription_url":"https://api.github.com/repos/Quix0r/dir/subscription","commits_url":"https://api.github.com/repos/Quix0r/dir/commits{/sha}","git_commits_url":"https://api.github.com/repos/Quix0r/dir/git/commits{/sha}","comments_url":"https://api.github.com/repos/Quix0r/dir/comments{/number}","issue_comment_url":"https://api.github.com/repos/Quix0r/dir/issues/comments{/number}","contents_url":"https://api.github.com/repos/Quix0r/dir/contents/{+path}","compare_url":"https://api.github.com/repos/Quix0r/dir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Quix0r/dir/merges","archive_url":"https://api.github.com/repos/Quix0r/dir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Quix0r/dir/downloads","issues_url":"https://api.github.com/repos/Quix0r/dir/issues{/number}","pulls_url":"https://api.github.com/repos/Quix0r/dir/pulls{/number}","milestones_url":"https://api.github.com/repos/Quix0r/dir/milestones{/number}","notifications_url":"https://api.github.com/repos/Quix0r/dir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Quix0r/dir/labels{/name}","releases_url":"https://api.github.com/repos/Quix0r/dir/releases{/id}","deployments_url":"https://api.github.com/repos/Quix0r/dir/deployments","created_at":"2017-03-01T14:04:53Z","updated_at":"2019-01-03T21:56:59Z","pushed_at":"2019-01-03T21:59:55Z","git_url":"git://github.com/Quix0r/dir.git","ssh_url":"git@github.com:Quix0r/dir.git","clone_url":"https://github.com/Quix0r/dir.git","svn_url":"https://github.com/Quix0r/dir","homepage":null,"size":3880,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"friendica:master","ref":"master","sha":"11ee56647955c21a2b1e838f7e52470fbed0b76b","user":{"login":"friendica","id":1176581,"node_id":"MDQ6VXNlcjExNzY1ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1176581?v=4","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"repo":{"id":4335297,"node_id":"MDEwOlJlcG9zaXRvcnk0MzM1Mjk3","name":"dir","full_name":"friendica/dir","private":false,"owner":{"login":"friendica","id":1176581,"node_id":"MDQ6VXNlcjExNzY1ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1176581?v=4","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"html_url":"https://github.com/friendica/dir","description":"Friendica Global Directory","fork":false,"url":"https://api.github.com/repos/friendica/dir","forks_url":"https://api.github.com/repos/friendica/dir/forks","keys_url":"https://api.github.com/repos/friendica/dir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/friendica/dir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/friendica/dir/teams","hooks_url":"https://api.github.com/repos/friendica/dir/hooks","issue_events_url":"https://api.github.com/repos/friendica/dir/issues/events{/number}","events_url":"https://api.github.com/repos/friendica/dir/events","assignees_url":"https://api.github.com/repos/friendica/dir/assignees{/user}","branches_url":"https://api.github.com/repos/friendica/dir/branches{/branch}","tags_url":"https://api.github.com/repos/friendica/dir/tags","blobs_url":"https://api.github.com/repos/friendica/dir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/friendica/dir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/friendica/dir/git/refs{/sha}","trees_url":"https://api.github.com/repos/friendica/dir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/friendica/dir/statuses/{sha}","languages_url":"https://api.github.com/repos/friendica/dir/languages","stargazers_url":"https://api.github.com/repos/friendica/dir/stargazers","contributors_url":"https://api.github.com/repos/friendica/dir/contributors","subscribers_url":"https://api.github.com/repos/friendica/dir/subscribers","subscription_url":"https://api.github.com/repos/friendica/dir/subscription","commits_url":"https://api.github.com/repos/friendica/dir/commits{/sha}","git_commits_url":"https://api.github.com/repos/friendica/dir/git/commits{/sha}","comments_url":"https://api.github.com/repos/friendica/dir/comments{/number}","issue_comment_url":"https://api.github.com/repos/friendica/dir/issues/comments{/number}","contents_url":"https://api.github.com/repos/friendica/dir/contents/{+path}","compare_url":"https://api.github.com/repos/friendica/dir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/friendica/dir/merges","archive_url":"https://api.github.com/repos/friendica/dir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/friendica/dir/downloads","issues_url":"https://api.github.com/repos/friendica/dir/issues{/number}","pulls_url":"https://api.github.com/repos/friendica/dir/pulls{/number}","milestones_url":"https://api.github.com/repos/friendica/dir/milestones{/number}","notifications_url":"https://api.github.com/repos/friendica/dir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/friendica/dir/labels{/name}","releases_url":"https://api.github.com/repos/friendica/dir/releases{/id}","deployments_url":"https://api.github.com/repos/friendica/dir/deployments","created_at":"2012-05-15T12:09:26Z","updated_at":"2018-11-08T12:19:56Z","pushed_at":"2019-01-04T00:42:37Z","git_url":"git://github.com/friendica/dir.git","ssh_url":"git@github.com:friendica/dir.git","clone_url":"https://github.com/friendica/dir.git","svn_url":"https://github.com/friendica/dir","homepage":null,"size":48116,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":11,"open_issues":0,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/friendica/dir/pulls/61"},"html":{"href":"https://github.com/friendica/dir/pull/61"},"issue":{"href":"https://api.github.com/repos/friendica/dir/issues/61"},"comments":{"href":"https://api.github.com/repos/friendica/dir/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/friendica/dir/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/friendica/dir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/friendica/dir/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/friendica/dir/statuses/e13182d91384a9e3f02f9b6c7b0c70d159b20b13"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"MrPetovan","id":925415,"node_id":"MDQ6VXNlcjkyNTQxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/925415?v=4","gravatar_id":"","url":"https://api.github.com/users/MrPetovan","html_url":"https://github.com/MrPetovan","followers_url":"https://api.github.com/users/MrPetovan/followers","following_url":"https://api.github.com/users/MrPetovan/following{/other_user}","gists_url":"https://api.github.com/users/MrPetovan/gists{/gist_id}","starred_url":"https://api.github.com/users/MrPetovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrPetovan/subscriptions","organizations_url":"https://api.github.com/users/MrPetovan/orgs","repos_url":"https://api.github.com/users/MrPetovan/repos","events_url":"https://api.github.com/users/MrPetovan/events{/privacy}","received_events_url":"https://api.github.com/users/MrPetovan/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":23,"deletions":23,"changed_files":10}}
{"actor":{"display_login":"MrPetovan"}}