{"action":"created","comment":{"url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/comments/232700952","pull_request_review_id":173951999,"id":232700952,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjcwMDk1Mg==","diff_hunk":"@@ -0,0 +1,76 @@\n+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Dsantang\\DomainEventsDoctrine\\Tests\\Unit\\EventsRecorder;\n+\n+use Doctrine\\ORM\\EntityManagerInterface;\n+use Doctrine\\ORM\\Event\\OnFlushEventArgs;\n+use Doctrine\\ORM\\UnitOfWork;\n+use Dsantang\\DomainEvents\\DomainEvent;\n+use Dsantang\\DomainEvents\\EventAware;\n+use Dsantang\\DomainEvents\\Registry\\EventsRegistry;\n+use Dsantang\\DomainEventsDoctrine\\Aggregator;\n+use Dsantang\\DomainEventsDoctrine\\EventsRecorder\\DoctrineEventsRecorder;\n+use phpDocumentor\\Reflection\\Types\\Object_;\n+use PHPUnit\\Framework\\TestCase;\n+use function assert;\n+\n+final class DoctrineEventsRecorderTest extends TestCase\n+{\n+    public function testShit() : void\n+    {\n+        $domainEvent = new class implements DomainEvent {","path":"tests/Unit/EventsRecorder/DoctrineEventsRecorderTest.php","position":26,"original_position":23,"commit_id":"f765b86c40d97d3fac4369591a370ced6a12d6ed","original_commit_id":"bc0261ea1651b7b841cc145de420df06a7a5c2c0","user":{"login":"dsantang","id":6401532,"node_id":"MDQ6VXNlcjY0MDE1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/6401532?v=4","gravatar_id":"","url":"https://api.github.com/users/dsantang","html_url":"https://github.com/dsantang","followers_url":"https://api.github.com/users/dsantang/followers","following_url":"https://api.github.com/users/dsantang/following{/other_user}","gists_url":"https://api.github.com/users/dsantang/gists{/gist_id}","starred_url":"https://api.github.com/users/dsantang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsantang/subscriptions","organizations_url":"https://api.github.com/users/dsantang/orgs","repos_url":"https://api.github.com/users/dsantang/repos","events_url":"https://api.github.com/users/dsantang/events{/privacy}","received_events_url":"https://api.github.com/users/dsantang/received_events","type":"User","site_admin":false},"body":"Please extract this class as a separate class in the test namespace, since it's been reused multiple times.","created_at":"2018-11-12T15:27:41Z","updated_at":"2018-11-12T15:37:47Z","html_url":"https://github.com/dsantang/domain-events-doctrine/pull/1#discussion_r232700952","pull_request_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/comments/232700952"},"html":{"href":"https://github.com/dsantang/domain-events-doctrine/pull/1#discussion_r232700952"},"pull_request":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1","id":230161233,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMTYxMjMz","html_url":"https://github.com/dsantang/domain-events-doctrine/pull/1","diff_url":"https://github.com/dsantang/domain-events-doctrine/pull/1.diff","patch_url":"https://github.com/dsantang/domain-events-doctrine/pull/1.patch","issue_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/1","number":1,"state":"open","locked":false,"title":"Add missing unit tests","user":{"login":"gPinato","id":6040180,"node_id":"MDQ6VXNlcjYwNDAxODA=","avatar_url":"https://avatars1.githubusercontent.com/u/6040180?v=4","gravatar_id":"","url":"https://api.github.com/users/gPinato","html_url":"https://github.com/gPinato","followers_url":"https://api.github.com/users/gPinato/followers","following_url":"https://api.github.com/users/gPinato/following{/other_user}","gists_url":"https://api.github.com/users/gPinato/gists{/gist_id}","starred_url":"https://api.github.com/users/gPinato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gPinato/subscriptions","organizations_url":"https://api.github.com/users/gPinato/orgs","repos_url":"https://api.github.com/users/gPinato/repos","events_url":"https://api.github.com/users/gPinato/events{/privacy}","received_events_url":"https://api.github.com/users/gPinato/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-12T14:54:07Z","updated_at":"2018-11-12T15:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2eda33dc407b7ab457d471616f52dfabeaf7c90","assignee":{"login":"gPinato","id":6040180,"node_id":"MDQ6VXNlcjYwNDAxODA=","avatar_url":"https://avatars1.githubusercontent.com/u/6040180?v=4","gravatar_id":"","url":"https://api.github.com/users/gPinato","html_url":"https://github.com/gPinato","followers_url":"https://api.github.com/users/gPinato/followers","following_url":"https://api.github.com/users/gPinato/following{/other_user}","gists_url":"https://api.github.com/users/gPinato/gists{/gist_id}","starred_url":"https://api.github.com/users/gPinato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gPinato/subscriptions","organizations_url":"https://api.github.com/users/gPinato/orgs","repos_url":"https://api.github.com/users/gPinato/repos","events_url":"https://api.github.com/users/gPinato/events{/privacy}","received_events_url":"https://api.github.com/users/gPinato/received_events","type":"User","site_admin":false},"assignees":[{"login":"gPinato","id":6040180,"node_id":"MDQ6VXNlcjYwNDAxODA=","avatar_url":"https://avatars1.githubusercontent.com/u/6040180?v=4","gravatar_id":"","url":"https://api.github.com/users/gPinato","html_url":"https://github.com/gPinato","followers_url":"https://api.github.com/users/gPinato/followers","following_url":"https://api.github.com/users/gPinato/following{/other_user}","gists_url":"https://api.github.com/users/gPinato/gists{/gist_id}","starred_url":"https://api.github.com/users/gPinato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gPinato/subscriptions","organizations_url":"https://api.github.com/users/gPinato/orgs","repos_url":"https://api.github.com/users/gPinato/repos","events_url":"https://api.github.com/users/gPinato/events{/privacy}","received_events_url":"https://api.github.com/users/gPinato/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/1/comments","statuses_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/statuses/f765b86c40d97d3fac4369591a370ced6a12d6ed","head":{"label":"dsantang:test","ref":"test","sha":"f765b86c40d97d3fac4369591a370ced6a12d6ed","user":{"login":"dsantang","id":6401532,"node_id":"MDQ6VXNlcjY0MDE1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/6401532?v=4","gravatar_id":"","url":"https://api.github.com/users/dsantang","html_url":"https://github.com/dsantang","followers_url":"https://api.github.com/users/dsantang/followers","following_url":"https://api.github.com/users/dsantang/following{/other_user}","gists_url":"https://api.github.com/users/dsantang/gists{/gist_id}","starred_url":"https://api.github.com/users/dsantang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsantang/subscriptions","organizations_url":"https://api.github.com/users/dsantang/orgs","repos_url":"https://api.github.com/users/dsantang/repos","events_url":"https://api.github.com/users/dsantang/events{/privacy}","received_events_url":"https://api.github.com/users/dsantang/received_events","type":"User","site_admin":false},"repo":{"id":156867739,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY4Njc3Mzk=","name":"domain-events-doctrine","full_name":"dsantang/domain-events-doctrine","private":false,"owner":{"login":"dsantang","id":6401532,"node_id":"MDQ6VXNlcjY0MDE1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/6401532?v=4","gravatar_id":"","url":"https://api.github.com/users/dsantang","html_url":"https://github.com/dsantang","followers_url":"https://api.github.com/users/dsantang/followers","following_url":"https://api.github.com/users/dsantang/following{/other_user}","gists_url":"https://api.github.com/users/dsantang/gists{/gist_id}","starred_url":"https://api.github.com/users/dsantang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsantang/subscriptions","organizations_url":"https://api.github.com/users/dsantang/orgs","repos_url":"https://api.github.com/users/dsantang/repos","events_url":"https://api.github.com/users/dsantang/events{/privacy}","received_events_url":"https://api.github.com/users/dsantang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dsantang/domain-events-doctrine","description":"Package that provides an integration with Doctrine ORM to automatically dispatch Domain Events.","fork":false,"url":"https://api.github.com/repos/dsantang/domain-events-doctrine","forks_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/forks","keys_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/teams","hooks_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/hooks","issue_events_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/events{/number}","events_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/events","assignees_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/assignees{/user}","branches_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/branches{/branch}","tags_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/tags","blobs_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/statuses/{sha}","languages_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/languages","stargazers_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/stargazers","contributors_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/contributors","subscribers_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/subscribers","subscription_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/subscription","commits_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/contents/{+path}","compare_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/merges","archive_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/downloads","issues_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues{/number}","pulls_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls{/number}","milestones_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/milestones{/number}","notifications_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/labels{/name}","releases_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/releases{/id}","deployments_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/deployments","created_at":"2018-11-09T13:44:58Z","updated_at":"2018-11-12T13:47:17Z","pushed_at":"2018-11-12T15:29:01Z","git_url":"git://github.com/dsantang/domain-events-doctrine.git","ssh_url":"git@github.com:dsantang/domain-events-doctrine.git","clone_url":"https://github.com/dsantang/domain-events-doctrine.git","svn_url":"https://github.com/dsantang/domain-events-doctrine","homepage":null,"size":28,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dsantang:master","ref":"master","sha":"835d1ea909c70e38ebb2f085232ccde30cc99d6e","user":{"login":"dsantang","id":6401532,"node_id":"MDQ6VXNlcjY0MDE1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/6401532?v=4","gravatar_id":"","url":"https://api.github.com/users/dsantang","html_url":"https://github.com/dsantang","followers_url":"https://api.github.com/users/dsantang/followers","following_url":"https://api.github.com/users/dsantang/following{/other_user}","gists_url":"https://api.github.com/users/dsantang/gists{/gist_id}","starred_url":"https://api.github.com/users/dsantang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsantang/subscriptions","organizations_url":"https://api.github.com/users/dsantang/orgs","repos_url":"https://api.github.com/users/dsantang/repos","events_url":"https://api.github.com/users/dsantang/events{/privacy}","received_events_url":"https://api.github.com/users/dsantang/received_events","type":"User","site_admin":false},"repo":{"id":156867739,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY4Njc3Mzk=","name":"domain-events-doctrine","full_name":"dsantang/domain-events-doctrine","private":false,"owner":{"login":"dsantang","id":6401532,"node_id":"MDQ6VXNlcjY0MDE1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/6401532?v=4","gravatar_id":"","url":"https://api.github.com/users/dsantang","html_url":"https://github.com/dsantang","followers_url":"https://api.github.com/users/dsantang/followers","following_url":"https://api.github.com/users/dsantang/following{/other_user}","gists_url":"https://api.github.com/users/dsantang/gists{/gist_id}","starred_url":"https://api.github.com/users/dsantang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsantang/subscriptions","organizations_url":"https://api.github.com/users/dsantang/orgs","repos_url":"https://api.github.com/users/dsantang/repos","events_url":"https://api.github.com/users/dsantang/events{/privacy}","received_events_url":"https://api.github.com/users/dsantang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dsantang/domain-events-doctrine","description":"Package that provides an integration with Doctrine ORM to automatically dispatch Domain Events.","fork":false,"url":"https://api.github.com/repos/dsantang/domain-events-doctrine","forks_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/forks","keys_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/teams","hooks_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/hooks","issue_events_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/events{/number}","events_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/events","assignees_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/assignees{/user}","branches_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/branches{/branch}","tags_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/tags","blobs_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/statuses/{sha}","languages_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/languages","stargazers_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/stargazers","contributors_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/contributors","subscribers_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/subscribers","subscription_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/subscription","commits_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/contents/{+path}","compare_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/merges","archive_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/downloads","issues_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues{/number}","pulls_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls{/number}","milestones_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/milestones{/number}","notifications_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/labels{/name}","releases_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/releases{/id}","deployments_url":"https://api.github.com/repos/dsantang/domain-events-doctrine/deployments","created_at":"2018-11-09T13:44:58Z","updated_at":"2018-11-12T13:47:17Z","pushed_at":"2018-11-12T15:29:01Z","git_url":"git://github.com/dsantang/domain-events-doctrine.git","ssh_url":"git@github.com:dsantang/domain-events-doctrine.git","clone_url":"https://github.com/dsantang/domain-events-doctrine.git","svn_url":"https://github.com/dsantang/domain-events-doctrine","homepage":null,"size":28,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1"},"html":{"href":"https://github.com/dsantang/domain-events-doctrine/pull/1"},"issue":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/1"},"comments":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dsantang/domain-events-doctrine/statuses/f765b86c40d97d3fac4369591a370ced6a12d6ed"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"dsantang"}}