{"action":"closed","number":119,"pull_request":{"url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/119","id":241046832,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMDQ2ODMy","html_url":"https://github.com/opensourcewebsite-org/opensourcewebsite-org/pull/119","diff_url":"https://github.com/opensourcewebsite-org/opensourcewebsite-org/pull/119.diff","patch_url":"https://github.com/opensourcewebsite-org/opensourcewebsite-org/pull/119.patch","issue_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues/119","number":119,"state":"closed","locked":false,"title":"Master cron (REFACTORED)","user":{"login":"blog-kopilka","id":30685719,"node_id":"MDQ6VXNlcjMwNjg1NzE5","avatar_url":"https://avatars1.githubusercontent.com/u/30685719?v=4","gravatar_id":"","url":"https://api.github.com/users/blog-kopilka","html_url":"https://github.com/blog-kopilka","followers_url":"https://api.github.com/users/blog-kopilka/followers","following_url":"https://api.github.com/users/blog-kopilka/following{/other_user}","gists_url":"https://api.github.com/users/blog-kopilka/gists{/gist_id}","starred_url":"https://api.github.com/users/blog-kopilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blog-kopilka/subscriptions","organizations_url":"https://api.github.com/users/blog-kopilka/orgs","repos_url":"https://api.github.com/users/blog-kopilka/repos","events_url":"https://api.github.com/users/blog-kopilka/events{/privacy}","received_events_url":"https://api.github.com/users/blog-kopilka/received_events","type":"User","site_admin":false},"body":"### Requirements\r\n\r\n** fixed code style\r\n\r\n* start migration first: php yii migrate\r\n* to execute script use: php yii cron\r\noptional: php yii cron --log\r\n\r\n# To create new cron job simply create new file in /commands folder with mask <name_job>Controller.php \r\nuse \r\nactionIndex for starting function","created_at":"2018-12-26T22:59:24Z","updated_at":"2018-12-28T01:53:17Z","closed_at":"2018-12-28T01:53:17Z","merged_at":"2018-12-28T01:53:17Z","merge_commit_sha":"81f2ec0b8708384bd77e54e1b62ecc6c98de55c9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/119/commits","review_comments_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/119/comments","review_comment_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues/119/comments","statuses_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/statuses/69f4a6599c42b8de7176501d8666454e1a3b5800","head":{"label":"blog-kopilka:master_cron","ref":"master_cron","sha":"69f4a6599c42b8de7176501d8666454e1a3b5800","user":{"login":"blog-kopilka","id":30685719,"node_id":"MDQ6VXNlcjMwNjg1NzE5","avatar_url":"https://avatars1.githubusercontent.com/u/30685719?v=4","gravatar_id":"","url":"https://api.github.com/users/blog-kopilka","html_url":"https://github.com/blog-kopilka","followers_url":"https://api.github.com/users/blog-kopilka/followers","following_url":"https://api.github.com/users/blog-kopilka/following{/other_user}","gists_url":"https://api.github.com/users/blog-kopilka/gists{/gist_id}","starred_url":"https://api.github.com/users/blog-kopilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blog-kopilka/subscriptions","organizations_url":"https://api.github.com/users/blog-kopilka/orgs","repos_url":"https://api.github.com/users/blog-kopilka/repos","events_url":"https://api.github.com/users/blog-kopilka/events{/privacy}","received_events_url":"https://api.github.com/users/blog-kopilka/received_events","type":"User","site_admin":false},"repo":{"id":162971118,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI5NzExMTg=","name":"opensourcewebsite-org","full_name":"blog-kopilka/opensourcewebsite-org","private":false,"owner":{"login":"blog-kopilka","id":30685719,"node_id":"MDQ6VXNlcjMwNjg1NzE5","avatar_url":"https://avatars1.githubusercontent.com/u/30685719?v=4","gravatar_id":"","url":"https://api.github.com/users/blog-kopilka","html_url":"https://github.com/blog-kopilka","followers_url":"https://api.github.com/users/blog-kopilka/followers","following_url":"https://api.github.com/users/blog-kopilka/following{/other_user}","gists_url":"https://api.github.com/users/blog-kopilka/gists{/gist_id}","starred_url":"https://api.github.com/users/blog-kopilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blog-kopilka/subscriptions","organizations_url":"https://api.github.com/users/blog-kopilka/orgs","repos_url":"https://api.github.com/users/blog-kopilka/repos","events_url":"https://api.github.com/users/blog-kopilka/events{/privacy}","received_events_url":"https://api.github.com/users/blog-kopilka/received_events","type":"User","site_admin":false},"html_url":"https://github.com/blog-kopilka/opensourcewebsite-org","description":"OpenSourceWebsite (OSW) is an open source website for the world's largest online social community, and is available for free on Live Website (https://opensourcewebsite.org).","fork":true,"url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org","forks_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/forks","keys_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/teams","hooks_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/hooks","issue_events_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/issues/events{/number}","events_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/events","assignees_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/assignees{/user}","branches_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/branches{/branch}","tags_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/tags","blobs_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/statuses/{sha}","languages_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/languages","stargazers_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/stargazers","contributors_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/contributors","subscribers_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/subscribers","subscription_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/subscription","commits_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/contents/{+path}","compare_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/merges","archive_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/downloads","issues_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/issues{/number}","pulls_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/pulls{/number}","milestones_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/milestones{/number}","notifications_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/labels{/name}","releases_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/releases{/id}","deployments_url":"https://api.github.com/repos/blog-kopilka/opensourcewebsite-org/deployments","created_at":"2018-12-24T08:57:26Z","updated_at":"2018-12-25T21:18:37Z","pushed_at":"2018-12-27T19:20:39Z","git_url":"git://github.com/blog-kopilka/opensourcewebsite-org.git","ssh_url":"git@github.com:blog-kopilka/opensourcewebsite-org.git","clone_url":"https://github.com/blog-kopilka/opensourcewebsite-org.git","svn_url":"https://github.com/blog-kopilka/opensourcewebsite-org","homepage":null,"size":510,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opensourcewebsite-org:master","ref":"master","sha":"0280e1a8dd145eb3cbacf10a50ac3f8a26059c87","user":{"login":"opensourcewebsite-org","id":42433667,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyNDMzNjY3","avatar_url":"https://avatars1.githubusercontent.com/u/42433667?v=4","gravatar_id":"","url":"https://api.github.com/users/opensourcewebsite-org","html_url":"https://github.com/opensourcewebsite-org","followers_url":"https://api.github.com/users/opensourcewebsite-org/followers","following_url":"https://api.github.com/users/opensourcewebsite-org/following{/other_user}","gists_url":"https://api.github.com/users/opensourcewebsite-org/gists{/gist_id}","starred_url":"https://api.github.com/users/opensourcewebsite-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensourcewebsite-org/subscriptions","organizations_url":"https://api.github.com/users/opensourcewebsite-org/orgs","repos_url":"https://api.github.com/users/opensourcewebsite-org/repos","events_url":"https://api.github.com/users/opensourcewebsite-org/events{/privacy}","received_events_url":"https://api.github.com/users/opensourcewebsite-org/received_events","type":"Organization","site_admin":false},"repo":{"id":144956786,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ5NTY3ODY=","name":"opensourcewebsite-org","full_name":"opensourcewebsite-org/opensourcewebsite-org","private":false,"owner":{"login":"opensourcewebsite-org","id":42433667,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyNDMzNjY3","avatar_url":"https://avatars1.githubusercontent.com/u/42433667?v=4","gravatar_id":"","url":"https://api.github.com/users/opensourcewebsite-org","html_url":"https://github.com/opensourcewebsite-org","followers_url":"https://api.github.com/users/opensourcewebsite-org/followers","following_url":"https://api.github.com/users/opensourcewebsite-org/following{/other_user}","gists_url":"https://api.github.com/users/opensourcewebsite-org/gists{/gist_id}","starred_url":"https://api.github.com/users/opensourcewebsite-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensourcewebsite-org/subscriptions","organizations_url":"https://api.github.com/users/opensourcewebsite-org/orgs","repos_url":"https://api.github.com/users/opensourcewebsite-org/repos","events_url":"https://api.github.com/users/opensourcewebsite-org/events{/privacy}","received_events_url":"https://api.github.com/users/opensourcewebsite-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/opensourcewebsite-org/opensourcewebsite-org","description":"OpenSourceWebsite (OSW) is an open source website for the world's largest online social community, and is available for free on Live Website (https://opensourcewebsite.org).","fork":false,"url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org","forks_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/forks","keys_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/teams","hooks_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/hooks","issue_events_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues/events{/number}","events_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/events","assignees_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/assignees{/user}","branches_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/branches{/branch}","tags_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/tags","blobs_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/statuses/{sha}","languages_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/languages","stargazers_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/stargazers","contributors_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/contributors","subscribers_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/subscribers","subscription_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/subscription","commits_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/contents/{+path}","compare_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/merges","archive_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/downloads","issues_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues{/number}","pulls_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls{/number}","milestones_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/milestones{/number}","notifications_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/labels{/name}","releases_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/releases{/id}","deployments_url":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/deployments","created_at":"2018-08-16T08:04:10Z","updated_at":"2018-12-26T23:06:10Z","pushed_at":"2018-12-28T01:53:17Z","git_url":"git://github.com/opensourcewebsite-org/opensourcewebsite-org.git","ssh_url":"git@github.com:opensourcewebsite-org/opensourcewebsite-org.git","clone_url":"https://github.com/opensourcewebsite-org/opensourcewebsite-org.git","svn_url":"https://github.com/opensourcewebsite-org/opensourcewebsite-org","homepage":null,"size":481,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":6,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/119"},"html":{"href":"https://github.com/opensourcewebsite-org/opensourcewebsite-org/pull/119"},"issue":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues/119"},"comments":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/opensourcewebsite-org/opensourcewebsite-org/statuses/69f4a6599c42b8de7176501d8666454e1a3b5800"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"grandmotivator","id":34159182,"node_id":"MDQ6VXNlcjM0MTU5MTgy","avatar_url":"https://avatars1.githubusercontent.com/u/34159182?v=4","gravatar_id":"","url":"https://api.github.com/users/grandmotivator","html_url":"https://github.com/grandmotivator","followers_url":"https://api.github.com/users/grandmotivator/followers","following_url":"https://api.github.com/users/grandmotivator/following{/other_user}","gists_url":"https://api.github.com/users/grandmotivator/gists{/gist_id}","starred_url":"https://api.github.com/users/grandmotivator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grandmotivator/subscriptions","organizations_url":"https://api.github.com/users/grandmotivator/orgs","repos_url":"https://api.github.com/users/grandmotivator/repos","events_url":"https://api.github.com/users/grandmotivator/events{/privacy}","received_events_url":"https://api.github.com/users/grandmotivator/received_events","type":"User","site_admin":false},"comments":1,"review_comments":25,"maintainer_can_modify":false,"commits":9,"additions":693,"deletions":79,"changed_files":12}}
{"actor":{"display_login":"grandmotivator"}}