{"action":"created","comment":{"url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/comments/181640828","pull_request_review_id":112287192,"id":181640828,"diff_hunk":"@@ -0,0 +1,65 @@\n+<?php\n+/**\n+ * Created by PhpStorm.\n+ * User: klimandr\n+ * Date: 20.03.18\n+ * Time: 15:54\n+ */\n+\n+namespace common\\models;\n+\n+use yii\\base\\Model;\n+\n+class SignupForm extends Model\n+{\n+    public $firstName;\n+    public $lastName;\n+    public $email;\n+    public $password;\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function rules()\n+    {\n+        return [\n+            ['firstName', 'trim'],\n+            ['firstName', 'required'],\n+            ['firstName', 'string', 'min' => 2, 'max' => 255],\n+\n+            ['lastName', 'trim'],\n+            ['lastName', 'required'],\n+            ['lastName', 'string', 'min' => 2, 'max' => 255],\n+\n+            ['email', 'trim'],\n+            ['email', 'required'],\n+            ['email', 'email'],\n+            ['email', 'string', 'max' => 255],\n+            ['email', 'unique', 'targetClass' => '\\common\\models\\User', 'message' => 'This email address has already been taken.'],\n+\n+            ['password', 'required'],\n+            ['password', 'string', 'min' => 6],\n+        ];\n+    }\n+\n+    /**\n+     * Signs user up.\n+     *\n+     * @return bool|User\n+     */\n+    public function Signup()","path":"common/models/SignupForm.php","position":50,"original_position":50,"commit_id":"0d39d420dcfffe09c3a0c424f4726654dc8855d6","original_commit_id":"0d39d420dcfffe09c3a0c424f4726654dc8855d6","user":{"login":"abelharisov","id":6592868,"avatar_url":"https://avatars1.githubusercontent.com/u/6592868?v=4","gravatar_id":"","url":"https://api.github.com/users/abelharisov","html_url":"https://github.com/abelharisov","followers_url":"https://api.github.com/users/abelharisov/followers","following_url":"https://api.github.com/users/abelharisov/following{/other_user}","gists_url":"https://api.github.com/users/abelharisov/gists{/gist_id}","starred_url":"https://api.github.com/users/abelharisov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelharisov/subscriptions","organizations_url":"https://api.github.com/users/abelharisov/orgs","repos_url":"https://api.github.com/users/abelharisov/repos","events_url":"https://api.github.com/users/abelharisov/events{/privacy}","received_events_url":"https://api.github.com/users/abelharisov/received_events","type":"User","site_admin":false},"body":"code style","created_at":"2018-04-16T07:19:40Z","updated_at":"2018-04-16T07:30:35Z","html_url":"https://github.com/trueklimandr/proj1_MD_advanced/pull/8#discussion_r181640828","pull_request_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/comments/181640828"},"html":{"href":"https://github.com/trueklimandr/proj1_MD_advanced/pull/8#discussion_r181640828"},"pull_request":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8","id":180874238,"html_url":"https://github.com/trueklimandr/proj1_MD_advanced/pull/8","diff_url":"https://github.com/trueklimandr/proj1_MD_advanced/pull/8.diff","patch_url":"https://github.com/trueklimandr/proj1_MD_advanced/pull/8.patch","issue_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/8","number":8,"state":"open","locked":false,"title":"Develop","user":{"login":"trueklimandr","id":35296450,"avatar_url":"https://avatars3.githubusercontent.com/u/35296450?v=4","gravatar_id":"","url":"https://api.github.com/users/trueklimandr","html_url":"https://github.com/trueklimandr","followers_url":"https://api.github.com/users/trueklimandr/followers","following_url":"https://api.github.com/users/trueklimandr/following{/other_user}","gists_url":"https://api.github.com/users/trueklimandr/gists{/gist_id}","starred_url":"https://api.github.com/users/trueklimandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueklimandr/subscriptions","organizations_url":"https://api.github.com/users/trueklimandr/orgs","repos_url":"https://api.github.com/users/trueklimandr/repos","events_url":"https://api.github.com/users/trueklimandr/events{/privacy}","received_events_url":"https://api.github.com/users/trueklimandr/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-11T11:36:59Z","updated_at":"2018-04-16T07:30:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a5a40bc7a29bd1249fe34451fb1a1ba00511428","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8/commits","review_comments_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8/comments","review_comment_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/8/comments","statuses_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/statuses/0d39d420dcfffe09c3a0c424f4726654dc8855d6","head":{"label":"trueklimandr:develop","ref":"develop","sha":"0d39d420dcfffe09c3a0c424f4726654dc8855d6","user":{"login":"trueklimandr","id":35296450,"avatar_url":"https://avatars3.githubusercontent.com/u/35296450?v=4","gravatar_id":"","url":"https://api.github.com/users/trueklimandr","html_url":"https://github.com/trueklimandr","followers_url":"https://api.github.com/users/trueklimandr/followers","following_url":"https://api.github.com/users/trueklimandr/following{/other_user}","gists_url":"https://api.github.com/users/trueklimandr/gists{/gist_id}","starred_url":"https://api.github.com/users/trueklimandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueklimandr/subscriptions","organizations_url":"https://api.github.com/users/trueklimandr/orgs","repos_url":"https://api.github.com/users/trueklimandr/repos","events_url":"https://api.github.com/users/trueklimandr/events{/privacy}","received_events_url":"https://api.github.com/users/trueklimandr/received_events","type":"User","site_admin":false},"repo":{"id":125832909,"name":"proj1_MD_advanced","full_name":"trueklimandr/proj1_MD_advanced","owner":{"login":"trueklimandr","id":35296450,"avatar_url":"https://avatars3.githubusercontent.com/u/35296450?v=4","gravatar_id":"","url":"https://api.github.com/users/trueklimandr","html_url":"https://github.com/trueklimandr","followers_url":"https://api.github.com/users/trueklimandr/followers","following_url":"https://api.github.com/users/trueklimandr/following{/other_user}","gists_url":"https://api.github.com/users/trueklimandr/gists{/gist_id}","starred_url":"https://api.github.com/users/trueklimandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueklimandr/subscriptions","organizations_url":"https://api.github.com/users/trueklimandr/orgs","repos_url":"https://api.github.com/users/trueklimandr/repos","events_url":"https://api.github.com/users/trueklimandr/events{/privacy}","received_events_url":"https://api.github.com/users/trueklimandr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trueklimandr/proj1_MD_advanced","description":null,"fork":false,"url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced","forks_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/forks","keys_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/teams","hooks_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/hooks","issue_events_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/events{/number}","events_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/events","assignees_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/assignees{/user}","branches_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/branches{/branch}","tags_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/tags","blobs_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/refs{/sha}","trees_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/statuses/{sha}","languages_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/languages","stargazers_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/stargazers","contributors_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/contributors","subscribers_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/subscribers","subscription_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/subscription","commits_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/commits{/sha}","git_commits_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/commits{/sha}","comments_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/comments{/number}","issue_comment_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/comments{/number}","contents_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/contents/{+path}","compare_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/merges","archive_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/downloads","issues_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues{/number}","pulls_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls{/number}","milestones_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/milestones{/number}","notifications_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/labels{/name}","releases_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/releases{/id}","deployments_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/deployments","created_at":"2018-03-19T09:26:50Z","updated_at":"2018-03-19T09:28:33Z","pushed_at":"2018-04-11T11:36:59Z","git_url":"git://github.com/trueklimandr/proj1_MD_advanced.git","ssh_url":"git@github.com:trueklimandr/proj1_MD_advanced.git","clone_url":"https://github.com/trueklimandr/proj1_MD_advanced.git","svn_url":"https://github.com/trueklimandr/proj1_MD_advanced","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"trueklimandr:master","ref":"master","sha":"85ac642c2a049c056913d0480f0361ef234bdd2b","user":{"login":"trueklimandr","id":35296450,"avatar_url":"https://avatars3.githubusercontent.com/u/35296450?v=4","gravatar_id":"","url":"https://api.github.com/users/trueklimandr","html_url":"https://github.com/trueklimandr","followers_url":"https://api.github.com/users/trueklimandr/followers","following_url":"https://api.github.com/users/trueklimandr/following{/other_user}","gists_url":"https://api.github.com/users/trueklimandr/gists{/gist_id}","starred_url":"https://api.github.com/users/trueklimandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueklimandr/subscriptions","organizations_url":"https://api.github.com/users/trueklimandr/orgs","repos_url":"https://api.github.com/users/trueklimandr/repos","events_url":"https://api.github.com/users/trueklimandr/events{/privacy}","received_events_url":"https://api.github.com/users/trueklimandr/received_events","type":"User","site_admin":false},"repo":{"id":125832909,"name":"proj1_MD_advanced","full_name":"trueklimandr/proj1_MD_advanced","owner":{"login":"trueklimandr","id":35296450,"avatar_url":"https://avatars3.githubusercontent.com/u/35296450?v=4","gravatar_id":"","url":"https://api.github.com/users/trueklimandr","html_url":"https://github.com/trueklimandr","followers_url":"https://api.github.com/users/trueklimandr/followers","following_url":"https://api.github.com/users/trueklimandr/following{/other_user}","gists_url":"https://api.github.com/users/trueklimandr/gists{/gist_id}","starred_url":"https://api.github.com/users/trueklimandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueklimandr/subscriptions","organizations_url":"https://api.github.com/users/trueklimandr/orgs","repos_url":"https://api.github.com/users/trueklimandr/repos","events_url":"https://api.github.com/users/trueklimandr/events{/privacy}","received_events_url":"https://api.github.com/users/trueklimandr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trueklimandr/proj1_MD_advanced","description":null,"fork":false,"url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced","forks_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/forks","keys_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/teams","hooks_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/hooks","issue_events_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/events{/number}","events_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/events","assignees_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/assignees{/user}","branches_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/branches{/branch}","tags_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/tags","blobs_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/refs{/sha}","trees_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/statuses/{sha}","languages_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/languages","stargazers_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/stargazers","contributors_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/contributors","subscribers_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/subscribers","subscription_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/subscription","commits_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/commits{/sha}","git_commits_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/git/commits{/sha}","comments_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/comments{/number}","issue_comment_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/comments{/number}","contents_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/contents/{+path}","compare_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/merges","archive_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/downloads","issues_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues{/number}","pulls_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls{/number}","milestones_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/milestones{/number}","notifications_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/labels{/name}","releases_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/releases{/id}","deployments_url":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/deployments","created_at":"2018-03-19T09:26:50Z","updated_at":"2018-03-19T09:28:33Z","pushed_at":"2018-04-11T11:36:59Z","git_url":"git://github.com/trueklimandr/proj1_MD_advanced.git","ssh_url":"git@github.com:trueklimandr/proj1_MD_advanced.git","clone_url":"https://github.com/trueklimandr/proj1_MD_advanced.git","svn_url":"https://github.com/trueklimandr/proj1_MD_advanced","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8"},"html":{"href":"https://github.com/trueklimandr/proj1_MD_advanced/pull/8"},"issue":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/8"},"comments":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/trueklimandr/proj1_MD_advanced/statuses/0d39d420dcfffe09c3a0c424f4726654dc8855d6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"abelharisov"}}