{"action":"created","comment":{"url":"https://api.github.com/repos/doctrine/coding-standard/pulls/comments/165975239","pull_request_review_id":93993004,"id":165975239,"diff_hunk":"@@ -18,7 +18,7 @@\n         \"php\": \"^7.1\",\n         \"squizlabs/php_codesniffer\": \"^3.2\",\n         \"dealerdirect/phpcodesniffer-composer-installer\": \"^0.4.2\",\n-        \"slevomat/coding-standard\": \"^4.3.0\"\n+        \"slevomat/coding-standard\": \"dev-master\"","path":"composer.json","position":5,"original_position":5,"commit_id":"7cacc7d85b7290ee83bffc046e8e722f19b6cfd0","original_commit_id":"7cacc7d85b7290ee83bffc046e8e722f19b6cfd0","user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars2.githubusercontent.com/u/154256?v=4","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"body":"Same here: we need a stable release and then we can merge/release as well","created_at":"2018-02-05T13:46:53Z","updated_at":"2018-02-05T13:46:53Z","html_url":"https://github.com/doctrine/coding-standard/pull/19#discussion_r165975239","pull_request_url":"https://api.github.com/repos/doctrine/coding-standard/pulls/19","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/doctrine/coding-standard/pulls/comments/165975239"},"html":{"href":"https://github.com/doctrine/coding-standard/pull/19#discussion_r165975239"},"pull_request":{"href":"https://api.github.com/repos/doctrine/coding-standard/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/doctrine/coding-standard/pulls/19","id":165634827,"html_url":"https://github.com/doctrine/coding-standard/pull/19","diff_url":"https://github.com/doctrine/coding-standard/pull/19.diff","patch_url":"https://github.com/doctrine/coding-standard/pull/19.patch","issue_url":"https://api.github.com/repos/doctrine/coding-standard/issues/19","number":19,"state":"open","locked":false,"title":"[WIP] Add Null Coalesce Operator","user":{"login":"carusogabriel","id":16328050,"avatar_url":"https://avatars3.githubusercontent.com/u/16328050?v=4","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"body":"Some to help starts with: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2.10/src/Fixer/Operator/TernaryToNullCoalescingFixer.php\r\n\r\nSomething to also be considering:\r\n```php\r\nif (isset($foo)) {\r\n    $bar = $foo;\r\n} elseif (isset($baz)) {\r\n    $bar = $baz;\r\n} else {\r\n    $bar = 'quux';\r\n}\r\n```\r\nAlready proposed and voted in https://github.com/doctrine/coding-standard/pull/9#issuecomment-353871200","created_at":"2018-01-29T07:43:50Z","updated_at":"2018-02-05T13:46:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca593af16ef45d13eec5698db92dbed2de87ea57","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/coding-standard/pulls/19/commits","review_comments_url":"https://api.github.com/repos/doctrine/coding-standard/pulls/19/comments","review_comment_url":"https://api.github.com/repos/doctrine/coding-standard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/coding-standard/issues/19/comments","statuses_url":"https://api.github.com/repos/doctrine/coding-standard/statuses/7cacc7d85b7290ee83bffc046e8e722f19b6cfd0","head":{"label":"carusogabriel:null-coalesce-operator","ref":"null-coalesce-operator","sha":"7cacc7d85b7290ee83bffc046e8e722f19b6cfd0","user":{"login":"carusogabriel","id":16328050,"avatar_url":"https://avatars3.githubusercontent.com/u/16328050?v=4","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"repo":{"id":119348694,"name":"coding-standard","full_name":"carusogabriel/coding-standard","owner":{"login":"carusogabriel","id":16328050,"avatar_url":"https://avatars3.githubusercontent.com/u/16328050?v=4","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carusogabriel/coding-standard","description":"The coding standard of the Doctrine project.","fork":true,"url":"https://api.github.com/repos/carusogabriel/coding-standard","forks_url":"https://api.github.com/repos/carusogabriel/coding-standard/forks","keys_url":"https://api.github.com/repos/carusogabriel/coding-standard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carusogabriel/coding-standard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carusogabriel/coding-standard/teams","hooks_url":"https://api.github.com/repos/carusogabriel/coding-standard/hooks","issue_events_url":"https://api.github.com/repos/carusogabriel/coding-standard/issues/events{/number}","events_url":"https://api.github.com/repos/carusogabriel/coding-standard/events","assignees_url":"https://api.github.com/repos/carusogabriel/coding-standard/assignees{/user}","branches_url":"https://api.github.com/repos/carusogabriel/coding-standard/branches{/branch}","tags_url":"https://api.github.com/repos/carusogabriel/coding-standard/tags","blobs_url":"https://api.github.com/repos/carusogabriel/coding-standard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carusogabriel/coding-standard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carusogabriel/coding-standard/git/refs{/sha}","trees_url":"https://api.github.com/repos/carusogabriel/coding-standard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carusogabriel/coding-standard/statuses/{sha}","languages_url":"https://api.github.com/repos/carusogabriel/coding-standard/languages","stargazers_url":"https://api.github.com/repos/carusogabriel/coding-standard/stargazers","contributors_url":"https://api.github.com/repos/carusogabriel/coding-standard/contributors","subscribers_url":"https://api.github.com/repos/carusogabriel/coding-standard/subscribers","subscription_url":"https://api.github.com/repos/carusogabriel/coding-standard/subscription","commits_url":"https://api.github.com/repos/carusogabriel/coding-standard/commits{/sha}","git_commits_url":"https://api.github.com/repos/carusogabriel/coding-standard/git/commits{/sha}","comments_url":"https://api.github.com/repos/carusogabriel/coding-standard/comments{/number}","issue_comment_url":"https://api.github.com/repos/carusogabriel/coding-standard/issues/comments{/number}","contents_url":"https://api.github.com/repos/carusogabriel/coding-standard/contents/{+path}","compare_url":"https://api.github.com/repos/carusogabriel/coding-standard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carusogabriel/coding-standard/merges","archive_url":"https://api.github.com/repos/carusogabriel/coding-standard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carusogabriel/coding-standard/downloads","issues_url":"https://api.github.com/repos/carusogabriel/coding-standard/issues{/number}","pulls_url":"https://api.github.com/repos/carusogabriel/coding-standard/pulls{/number}","milestones_url":"https://api.github.com/repos/carusogabriel/coding-standard/milestones{/number}","notifications_url":"https://api.github.com/repos/carusogabriel/coding-standard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carusogabriel/coding-standard/labels{/name}","releases_url":"https://api.github.com/repos/carusogabriel/coding-standard/releases{/id}","deployments_url":"https://api.github.com/repos/carusogabriel/coding-standard/deployments","created_at":"2018-01-29T07:39:04Z","updated_at":"2018-01-29T07:39:05Z","pushed_at":"2018-02-01T08:20:48Z","git_url":"git://github.com/carusogabriel/coding-standard.git","ssh_url":"git@github.com:carusogabriel/coding-standard.git","clone_url":"https://github.com/carusogabriel/coding-standard.git","svn_url":"https://github.com/carusogabriel/coding-standard","homepage":null,"size":81,"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":"doctrine:master","ref":"master","sha":"0f48be4c09ef08e9c0cff406d8428d65de628362","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":16595763,"name":"coding-standard","full_name":"doctrine/coding-standard","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/coding-standard","description":"The coding standard of the Doctrine project.","fork":false,"url":"https://api.github.com/repos/doctrine/coding-standard","forks_url":"https://api.github.com/repos/doctrine/coding-standard/forks","keys_url":"https://api.github.com/repos/doctrine/coding-standard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/coding-standard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/coding-standard/teams","hooks_url":"https://api.github.com/repos/doctrine/coding-standard/hooks","issue_events_url":"https://api.github.com/repos/doctrine/coding-standard/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/coding-standard/events","assignees_url":"https://api.github.com/repos/doctrine/coding-standard/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/coding-standard/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/coding-standard/tags","blobs_url":"https://api.github.com/repos/doctrine/coding-standard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/coding-standard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/coding-standard/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/coding-standard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/coding-standard/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/coding-standard/languages","stargazers_url":"https://api.github.com/repos/doctrine/coding-standard/stargazers","contributors_url":"https://api.github.com/repos/doctrine/coding-standard/contributors","subscribers_url":"https://api.github.com/repos/doctrine/coding-standard/subscribers","subscription_url":"https://api.github.com/repos/doctrine/coding-standard/subscription","commits_url":"https://api.github.com/repos/doctrine/coding-standard/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/coding-standard/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/coding-standard/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/coding-standard/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/coding-standard/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/coding-standard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/coding-standard/merges","archive_url":"https://api.github.com/repos/doctrine/coding-standard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/coding-standard/downloads","issues_url":"https://api.github.com/repos/doctrine/coding-standard/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/coding-standard/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/coding-standard/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/coding-standard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/coding-standard/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/coding-standard/releases{/id}","deployments_url":"https://api.github.com/repos/doctrine/coding-standard/deployments","created_at":"2014-02-06T22:10:47Z","updated_at":"2018-02-02T13:51:05Z","pushed_at":"2018-02-01T08:20:50Z","git_url":"git://github.com/doctrine/coding-standard.git","ssh_url":"git@github.com:doctrine/coding-standard.git","clone_url":"https://github.com/doctrine/coding-standard.git","svn_url":"https://github.com/doctrine/coding-standard","homepage":null,"size":76,"stargazers_count":51,"watchers_count":51,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":13,"open_issues":5,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/coding-standard/pulls/19"},"html":{"href":"https://github.com/doctrine/coding-standard/pull/19"},"issue":{"href":"https://api.github.com/repos/doctrine/coding-standard/issues/19"},"comments":{"href":"https://api.github.com/repos/doctrine/coding-standard/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/coding-standard/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/coding-standard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/coding-standard/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/coding-standard/statuses/7cacc7d85b7290ee83bffc046e8e722f19b6cfd0"}},"author_association":"NONE"}}
{"actor":{"display_login":"Ocramius"}}