{"action":"created","comment":{"url":"https://api.github.com/repos/diablomedia/doctrine1/pulls/comments/175502767","pull_request_review_id":105035032,"id":175502767,"diff_hunk":"@@ -221,29 +221,29 @@ public function option($name, $value = null)\n     /**\n      * Binds One-to-One aggregate relation\n      *\n-     * @param string $componentName     the name of the related component\n-     * @param string $options           relation options\n+     * @param string ...$args  First: the name of the related component\n+     *                         Second: relation options\n      * @see Doctrine_Relation::_$definition\n-     * @return Doctrine_Record          this object\n+     * @return $this          this object\n      */\n-    public function hasOne()\n+    public function hasOne(...$args)","path":"lib/Doctrine/Record/Abstract.php","position":66,"original_position":66,"commit_id":"864b1f401395a08b30cfd474a75f679817cb67bd","original_commit_id":"864b1f401395a08b30cfd474a75f679817cb67bd","user":{"login":"jaydiablo","id":136907,"avatar_url":"https://avatars0.githubusercontent.com/u/136907?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydiablo","html_url":"https://github.com/jaydiablo","followers_url":"https://api.github.com/users/jaydiablo/followers","following_url":"https://api.github.com/users/jaydiablo/following{/other_user}","gists_url":"https://api.github.com/users/jaydiablo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydiablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydiablo/subscriptions","organizations_url":"https://api.github.com/users/jaydiablo/orgs","repos_url":"https://api.github.com/users/jaydiablo/repos","events_url":"https://api.github.com/users/jaydiablo/events{/privacy}","received_events_url":"https://api.github.com/users/jaydiablo/received_events","type":"User","site_admin":false},"body":"Variadic","created_at":"2018-03-19T16:40:41Z","updated_at":"2018-03-19T16:53:15Z","html_url":"https://github.com/diablomedia/doctrine1/pull/21#discussion_r175502767","pull_request_url":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/diablomedia/doctrine1/pulls/comments/175502767"},"html":{"href":"https://github.com/diablomedia/doctrine1/pull/21#discussion_r175502767"},"pull_request":{"href":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21","id":175951946,"html_url":"https://github.com/diablomedia/doctrine1/pull/21","diff_url":"https://github.com/diablomedia/doctrine1/pull/21.diff","patch_url":"https://github.com/diablomedia/doctrine1/pull/21.patch","issue_url":"https://api.github.com/repos/diablomedia/doctrine1/issues/21","number":21,"state":"open","locked":false,"title":"Level 2 phpstan fixes","user":{"login":"jaydiablo","id":136907,"avatar_url":"https://avatars0.githubusercontent.com/u/136907?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydiablo","html_url":"https://github.com/jaydiablo","followers_url":"https://api.github.com/users/jaydiablo/followers","following_url":"https://api.github.com/users/jaydiablo/following{/other_user}","gists_url":"https://api.github.com/users/jaydiablo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydiablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydiablo/subscriptions","organizations_url":"https://api.github.com/users/jaydiablo/orgs","repos_url":"https://api.github.com/users/jaydiablo/repos","events_url":"https://api.github.com/users/jaydiablo/events{/privacy}","received_events_url":"https://api.github.com/users/jaydiablo/received_events","type":"User","site_admin":false},"body":"These are changes necessary to make phpstan level 2 pass.\r\n\r\nMost of this was just docblock changes, but there are a few code changes here and there, I'll document those inline.","created_at":"2018-03-19T16:20:20Z","updated_at":"2018-03-19T16:53:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b917d3c515f5359a0e66f79dedbbda407c53dd1d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21/commits","review_comments_url":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21/comments","review_comment_url":"https://api.github.com/repos/diablomedia/doctrine1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diablomedia/doctrine1/issues/21/comments","statuses_url":"https://api.github.com/repos/diablomedia/doctrine1/statuses/864b1f401395a08b30cfd474a75f679817cb67bd","head":{"label":"jaydiablo:phpstan-2","ref":"phpstan-2","sha":"864b1f401395a08b30cfd474a75f679817cb67bd","user":{"login":"jaydiablo","id":136907,"avatar_url":"https://avatars0.githubusercontent.com/u/136907?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydiablo","html_url":"https://github.com/jaydiablo","followers_url":"https://api.github.com/users/jaydiablo/followers","following_url":"https://api.github.com/users/jaydiablo/following{/other_user}","gists_url":"https://api.github.com/users/jaydiablo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydiablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydiablo/subscriptions","organizations_url":"https://api.github.com/users/jaydiablo/orgs","repos_url":"https://api.github.com/users/jaydiablo/repos","events_url":"https://api.github.com/users/jaydiablo/events{/privacy}","received_events_url":"https://api.github.com/users/jaydiablo/received_events","type":"User","site_admin":false},"repo":{"id":105934690,"name":"doctrine1","full_name":"jaydiablo/doctrine1","owner":{"login":"jaydiablo","id":136907,"avatar_url":"https://avatars0.githubusercontent.com/u/136907?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydiablo","html_url":"https://github.com/jaydiablo","followers_url":"https://api.github.com/users/jaydiablo/followers","following_url":"https://api.github.com/users/jaydiablo/following{/other_user}","gists_url":"https://api.github.com/users/jaydiablo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydiablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydiablo/subscriptions","organizations_url":"https://api.github.com/users/jaydiablo/orgs","repos_url":"https://api.github.com/users/jaydiablo/repos","events_url":"https://api.github.com/users/jaydiablo/events{/privacy}","received_events_url":"https://api.github.com/users/jaydiablo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaydiablo/doctrine1","description":"Doctrine 1 Object Relational Mapper","fork":true,"url":"https://api.github.com/repos/jaydiablo/doctrine1","forks_url":"https://api.github.com/repos/jaydiablo/doctrine1/forks","keys_url":"https://api.github.com/repos/jaydiablo/doctrine1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaydiablo/doctrine1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaydiablo/doctrine1/teams","hooks_url":"https://api.github.com/repos/jaydiablo/doctrine1/hooks","issue_events_url":"https://api.github.com/repos/jaydiablo/doctrine1/issues/events{/number}","events_url":"https://api.github.com/repos/jaydiablo/doctrine1/events","assignees_url":"https://api.github.com/repos/jaydiablo/doctrine1/assignees{/user}","branches_url":"https://api.github.com/repos/jaydiablo/doctrine1/branches{/branch}","tags_url":"https://api.github.com/repos/jaydiablo/doctrine1/tags","blobs_url":"https://api.github.com/repos/jaydiablo/doctrine1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaydiablo/doctrine1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaydiablo/doctrine1/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaydiablo/doctrine1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaydiablo/doctrine1/statuses/{sha}","languages_url":"https://api.github.com/repos/jaydiablo/doctrine1/languages","stargazers_url":"https://api.github.com/repos/jaydiablo/doctrine1/stargazers","contributors_url":"https://api.github.com/repos/jaydiablo/doctrine1/contributors","subscribers_url":"https://api.github.com/repos/jaydiablo/doctrine1/subscribers","subscription_url":"https://api.github.com/repos/jaydiablo/doctrine1/subscription","commits_url":"https://api.github.com/repos/jaydiablo/doctrine1/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaydiablo/doctrine1/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaydiablo/doctrine1/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaydiablo/doctrine1/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaydiablo/doctrine1/contents/{+path}","compare_url":"https://api.github.com/repos/jaydiablo/doctrine1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaydiablo/doctrine1/merges","archive_url":"https://api.github.com/repos/jaydiablo/doctrine1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaydiablo/doctrine1/downloads","issues_url":"https://api.github.com/repos/jaydiablo/doctrine1/issues{/number}","pulls_url":"https://api.github.com/repos/jaydiablo/doctrine1/pulls{/number}","milestones_url":"https://api.github.com/repos/jaydiablo/doctrine1/milestones{/number}","notifications_url":"https://api.github.com/repos/jaydiablo/doctrine1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaydiablo/doctrine1/labels{/name}","releases_url":"https://api.github.com/repos/jaydiablo/doctrine1/releases{/id}","deployments_url":"https://api.github.com/repos/jaydiablo/doctrine1/deployments","created_at":"2017-10-05T20:03:03Z","updated_at":"2017-10-05T20:03:07Z","pushed_at":"2018-03-19T15:37:20Z","git_url":"git://github.com/jaydiablo/doctrine1.git","ssh_url":"git@github.com:jaydiablo/doctrine1.git","clone_url":"https://github.com/jaydiablo/doctrine1.git","svn_url":"https://github.com/jaydiablo/doctrine1","homepage":"http://www.doctrine-project.org","size":1331,"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":"diablomedia:master","ref":"master","sha":"6832fc3fd21a85f881ccc74ed44281c54e08865b","user":{"login":"diablomedia","id":2982598,"avatar_url":"https://avatars3.githubusercontent.com/u/2982598?v=4","gravatar_id":"","url":"https://api.github.com/users/diablomedia","html_url":"https://github.com/diablomedia","followers_url":"https://api.github.com/users/diablomedia/followers","following_url":"https://api.github.com/users/diablomedia/following{/other_user}","gists_url":"https://api.github.com/users/diablomedia/gists{/gist_id}","starred_url":"https://api.github.com/users/diablomedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diablomedia/subscriptions","organizations_url":"https://api.github.com/users/diablomedia/orgs","repos_url":"https://api.github.com/users/diablomedia/repos","events_url":"https://api.github.com/users/diablomedia/events{/privacy}","received_events_url":"https://api.github.com/users/diablomedia/received_events","type":"Organization","site_admin":false},"repo":{"id":7655258,"name":"doctrine1","full_name":"diablomedia/doctrine1","owner":{"login":"diablomedia","id":2982598,"avatar_url":"https://avatars3.githubusercontent.com/u/2982598?v=4","gravatar_id":"","url":"https://api.github.com/users/diablomedia","html_url":"https://github.com/diablomedia","followers_url":"https://api.github.com/users/diablomedia/followers","following_url":"https://api.github.com/users/diablomedia/following{/other_user}","gists_url":"https://api.github.com/users/diablomedia/gists{/gist_id}","starred_url":"https://api.github.com/users/diablomedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diablomedia/subscriptions","organizations_url":"https://api.github.com/users/diablomedia/orgs","repos_url":"https://api.github.com/users/diablomedia/repos","events_url":"https://api.github.com/users/diablomedia/events{/privacy}","received_events_url":"https://api.github.com/users/diablomedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diablomedia/doctrine1","description":"A fork of Doctrine 1.2 updated to be compatible with newer versions of PHP. ","fork":true,"url":"https://api.github.com/repos/diablomedia/doctrine1","forks_url":"https://api.github.com/repos/diablomedia/doctrine1/forks","keys_url":"https://api.github.com/repos/diablomedia/doctrine1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diablomedia/doctrine1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diablomedia/doctrine1/teams","hooks_url":"https://api.github.com/repos/diablomedia/doctrine1/hooks","issue_events_url":"https://api.github.com/repos/diablomedia/doctrine1/issues/events{/number}","events_url":"https://api.github.com/repos/diablomedia/doctrine1/events","assignees_url":"https://api.github.com/repos/diablomedia/doctrine1/assignees{/user}","branches_url":"https://api.github.com/repos/diablomedia/doctrine1/branches{/branch}","tags_url":"https://api.github.com/repos/diablomedia/doctrine1/tags","blobs_url":"https://api.github.com/repos/diablomedia/doctrine1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diablomedia/doctrine1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diablomedia/doctrine1/git/refs{/sha}","trees_url":"https://api.github.com/repos/diablomedia/doctrine1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diablomedia/doctrine1/statuses/{sha}","languages_url":"https://api.github.com/repos/diablomedia/doctrine1/languages","stargazers_url":"https://api.github.com/repos/diablomedia/doctrine1/stargazers","contributors_url":"https://api.github.com/repos/diablomedia/doctrine1/contributors","subscribers_url":"https://api.github.com/repos/diablomedia/doctrine1/subscribers","subscription_url":"https://api.github.com/repos/diablomedia/doctrine1/subscription","commits_url":"https://api.github.com/repos/diablomedia/doctrine1/commits{/sha}","git_commits_url":"https://api.github.com/repos/diablomedia/doctrine1/git/commits{/sha}","comments_url":"https://api.github.com/repos/diablomedia/doctrine1/comments{/number}","issue_comment_url":"https://api.github.com/repos/diablomedia/doctrine1/issues/comments{/number}","contents_url":"https://api.github.com/repos/diablomedia/doctrine1/contents/{+path}","compare_url":"https://api.github.com/repos/diablomedia/doctrine1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diablomedia/doctrine1/merges","archive_url":"https://api.github.com/repos/diablomedia/doctrine1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diablomedia/doctrine1/downloads","issues_url":"https://api.github.com/repos/diablomedia/doctrine1/issues{/number}","pulls_url":"https://api.github.com/repos/diablomedia/doctrine1/pulls{/number}","milestones_url":"https://api.github.com/repos/diablomedia/doctrine1/milestones{/number}","notifications_url":"https://api.github.com/repos/diablomedia/doctrine1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diablomedia/doctrine1/labels{/name}","releases_url":"https://api.github.com/repos/diablomedia/doctrine1/releases{/id}","deployments_url":"https://api.github.com/repos/diablomedia/doctrine1/deployments","created_at":"2013-01-16T22:30:59Z","updated_at":"2018-03-19T15:21:50Z","pushed_at":"2018-03-19T16:20:21Z","git_url":"git://github.com/diablomedia/doctrine1.git","ssh_url":"git@github.com:diablomedia/doctrine1.git","clone_url":"https://github.com/diablomedia/doctrine1.git","svn_url":"https://github.com/diablomedia/doctrine1","homepage":"","size":1291,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21"},"html":{"href":"https://github.com/diablomedia/doctrine1/pull/21"},"issue":{"href":"https://api.github.com/repos/diablomedia/doctrine1/issues/21"},"comments":{"href":"https://api.github.com/repos/diablomedia/doctrine1/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/diablomedia/doctrine1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diablomedia/doctrine1/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/diablomedia/doctrine1/statuses/864b1f401395a08b30cfd474a75f679817cb67bd"}},"author_association":"OWNER"}}
{"actor":{"display_login":"jaydiablo"}}