{"action":"created","comment":{"url":"https://api.github.com/repos/PHPeste/conticket/pulls/comments/90576188","pull_request_review_id":11095855,"id":90576188,"diff_hunk":"@@ -0,0 +1,69 @@\n+<?php\n+/*\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ *\n+ * This software consists of voluntary contributions made by many individuals\n+ * and is licensed under the MIT license.\n+ */\n+\n+declare(strict_types=1);\n+\n+namespace Conticket\\Model\\Aggregates\\Event;\n+\n+use Prooph\\EventSourcing\\AggregateRoot;\n+use Conticket\\Model\\Events\\Event\\EventWasCreated;\n+use Conticket\\Model\\Events\\Event\\TicketWasAdded;\n+use Assert\\Assertion;\n+use Rhumsaa\\Uuid\\Uuid;\n+\n+final class Event extends AggregateRoot\n+{\n+    private $aggregateId;\n+    private $name;\n+    private $description;","path":"src/Conticket/Model/Aggregates/Event/Event.php","position":33,"original_position":33,"commit_id":"029fcb6f05ba3d1a706fe2647cc991a834f21664","original_commit_id":"029fcb6f05ba3d1a706fe2647cc991a834f21664","user":{"login":"malukenho","id":3275172,"avatar_url":"https://avatars.githubusercontent.com/u/3275172?v=3","gravatar_id":"","url":"https://api.github.com/users/malukenho","html_url":"https://github.com/malukenho","followers_url":"https://api.github.com/users/malukenho/followers","following_url":"https://api.github.com/users/malukenho/following{/other_user}","gists_url":"https://api.github.com/users/malukenho/gists{/gist_id}","starred_url":"https://api.github.com/users/malukenho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malukenho/subscriptions","organizations_url":"https://api.github.com/users/malukenho/orgs","repos_url":"https://api.github.com/users/malukenho/repos","events_url":"https://api.github.com/users/malukenho/events{/privacy}","received_events_url":"https://api.github.com/users/malukenho/received_events","type":"User","site_admin":false},"body":"missing dockblock","created_at":"2016-12-02T02:09:00Z","updated_at":"2016-12-02T02:09:00Z","html_url":"https://github.com/PHPeste/conticket/pull/31#discussion_r90576188","pull_request_url":"https://api.github.com/repos/PHPeste/conticket/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/PHPeste/conticket/pulls/comments/90576188"},"html":{"href":"https://github.com/PHPeste/conticket/pull/31#discussion_r90576188"},"pull_request":{"href":"https://api.github.com/repos/PHPeste/conticket/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/PHPeste/conticket/pulls/31","id":96091642,"html_url":"https://github.com/PHPeste/conticket/pull/31","diff_url":"https://github.com/PHPeste/conticket/pull/31.diff","patch_url":"https://github.com/PHPeste/conticket/pull/31.patch","issue_url":"https://api.github.com/repos/PHPeste/conticket/issues/31","number":31,"state":"open","locked":false,"title":"Adicionando Event Sourced Aggregates","user":{"login":"lucianoqueiroz","id":782809,"avatar_url":"https://avatars.githubusercontent.com/u/782809?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianoqueiroz","html_url":"https://github.com/lucianoqueiroz","followers_url":"https://api.github.com/users/lucianoqueiroz/followers","following_url":"https://api.github.com/users/lucianoqueiroz/following{/other_user}","gists_url":"https://api.github.com/users/lucianoqueiroz/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianoqueiroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianoqueiroz/subscriptions","organizations_url":"https://api.github.com/users/lucianoqueiroz/orgs","repos_url":"https://api.github.com/users/lucianoqueiroz/repos","events_url":"https://api.github.com/users/lucianoqueiroz/events{/privacy}","received_events_url":"https://api.github.com/users/lucianoqueiroz/received_events","type":"User","site_admin":false},"body":"Substitui o Symfony pelo zend-expressive. Adicionei alguns packages como PhpSpec, Ramsei/Uuid, Beberlei/Assertion e os packages do Prooph. Também comecei a modelar o Event Aggregate, não sei se a estratégia de diretórios que tomei é a melhor, fiz isso mais pra dar um start na pull request.","created_at":"2016-12-01T13:48:26Z","updated_at":"2016-12-02T02:29:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00efb3db4e00c7c6d2885d5295ca72a076ba5527","assignee":{"login":"abdala","id":219340,"avatar_url":"https://avatars.githubusercontent.com/u/219340?v=3","gravatar_id":"","url":"https://api.github.com/users/abdala","html_url":"https://github.com/abdala","followers_url":"https://api.github.com/users/abdala/followers","following_url":"https://api.github.com/users/abdala/following{/other_user}","gists_url":"https://api.github.com/users/abdala/gists{/gist_id}","starred_url":"https://api.github.com/users/abdala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdala/subscriptions","organizations_url":"https://api.github.com/users/abdala/orgs","repos_url":"https://api.github.com/users/abdala/repos","events_url":"https://api.github.com/users/abdala/events{/privacy}","received_events_url":"https://api.github.com/users/abdala/received_events","type":"User","site_admin":false},"assignees":[{"login":"abdala","id":219340,"avatar_url":"https://avatars.githubusercontent.com/u/219340?v=3","gravatar_id":"","url":"https://api.github.com/users/abdala","html_url":"https://github.com/abdala","followers_url":"https://api.github.com/users/abdala/followers","following_url":"https://api.github.com/users/abdala/following{/other_user}","gists_url":"https://api.github.com/users/abdala/gists{/gist_id}","starred_url":"https://api.github.com/users/abdala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdala/subscriptions","organizations_url":"https://api.github.com/users/abdala/orgs","repos_url":"https://api.github.com/users/abdala/repos","events_url":"https://api.github.com/users/abdala/events{/privacy}","received_events_url":"https://api.github.com/users/abdala/received_events","type":"User","site_admin":false},{"login":"malukenho","id":3275172,"avatar_url":"https://avatars.githubusercontent.com/u/3275172?v=3","gravatar_id":"","url":"https://api.github.com/users/malukenho","html_url":"https://github.com/malukenho","followers_url":"https://api.github.com/users/malukenho/followers","following_url":"https://api.github.com/users/malukenho/following{/other_user}","gists_url":"https://api.github.com/users/malukenho/gists{/gist_id}","starred_url":"https://api.github.com/users/malukenho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malukenho/subscriptions","organizations_url":"https://api.github.com/users/malukenho/orgs","repos_url":"https://api.github.com/users/malukenho/repos","events_url":"https://api.github.com/users/malukenho/events{/privacy}","received_events_url":"https://api.github.com/users/malukenho/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PHPeste/conticket/pulls/31/commits","review_comments_url":"https://api.github.com/repos/PHPeste/conticket/pulls/31/comments","review_comment_url":"https://api.github.com/repos/PHPeste/conticket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PHPeste/conticket/issues/31/comments","statuses_url":"https://api.github.com/repos/PHPeste/conticket/statuses/029fcb6f05ba3d1a706fe2647cc991a834f21664","head":{"label":"lucianoqueiroz:creating-event-sourced-aggregates","ref":"creating-event-sourced-aggregates","sha":"029fcb6f05ba3d1a706fe2647cc991a834f21664","user":{"login":"lucianoqueiroz","id":782809,"avatar_url":"https://avatars.githubusercontent.com/u/782809?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianoqueiroz","html_url":"https://github.com/lucianoqueiroz","followers_url":"https://api.github.com/users/lucianoqueiroz/followers","following_url":"https://api.github.com/users/lucianoqueiroz/following{/other_user}","gists_url":"https://api.github.com/users/lucianoqueiroz/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianoqueiroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianoqueiroz/subscriptions","organizations_url":"https://api.github.com/users/lucianoqueiroz/orgs","repos_url":"https://api.github.com/users/lucianoqueiroz/repos","events_url":"https://api.github.com/users/lucianoqueiroz/events{/privacy}","received_events_url":"https://api.github.com/users/lucianoqueiroz/received_events","type":"User","site_admin":false},"repo":{"id":74778346,"name":"conticket","full_name":"lucianoqueiroz/conticket","owner":{"login":"lucianoqueiroz","id":782809,"avatar_url":"https://avatars.githubusercontent.com/u/782809?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianoqueiroz","html_url":"https://github.com/lucianoqueiroz","followers_url":"https://api.github.com/users/lucianoqueiroz/followers","following_url":"https://api.github.com/users/lucianoqueiroz/following{/other_user}","gists_url":"https://api.github.com/users/lucianoqueiroz/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianoqueiroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianoqueiroz/subscriptions","organizations_url":"https://api.github.com/users/lucianoqueiroz/orgs","repos_url":"https://api.github.com/users/lucianoqueiroz/repos","events_url":"https://api.github.com/users/lucianoqueiroz/events{/privacy}","received_events_url":"https://api.github.com/users/lucianoqueiroz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucianoqueiroz/conticket","description":"Sistema de vendas de ingressos","fork":true,"url":"https://api.github.com/repos/lucianoqueiroz/conticket","forks_url":"https://api.github.com/repos/lucianoqueiroz/conticket/forks","keys_url":"https://api.github.com/repos/lucianoqueiroz/conticket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucianoqueiroz/conticket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucianoqueiroz/conticket/teams","hooks_url":"https://api.github.com/repos/lucianoqueiroz/conticket/hooks","issue_events_url":"https://api.github.com/repos/lucianoqueiroz/conticket/issues/events{/number}","events_url":"https://api.github.com/repos/lucianoqueiroz/conticket/events","assignees_url":"https://api.github.com/repos/lucianoqueiroz/conticket/assignees{/user}","branches_url":"https://api.github.com/repos/lucianoqueiroz/conticket/branches{/branch}","tags_url":"https://api.github.com/repos/lucianoqueiroz/conticket/tags","blobs_url":"https://api.github.com/repos/lucianoqueiroz/conticket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucianoqueiroz/conticket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucianoqueiroz/conticket/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucianoqueiroz/conticket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucianoqueiroz/conticket/statuses/{sha}","languages_url":"https://api.github.com/repos/lucianoqueiroz/conticket/languages","stargazers_url":"https://api.github.com/repos/lucianoqueiroz/conticket/stargazers","contributors_url":"https://api.github.com/repos/lucianoqueiroz/conticket/contributors","subscribers_url":"https://api.github.com/repos/lucianoqueiroz/conticket/subscribers","subscription_url":"https://api.github.com/repos/lucianoqueiroz/conticket/subscription","commits_url":"https://api.github.com/repos/lucianoqueiroz/conticket/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucianoqueiroz/conticket/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucianoqueiroz/conticket/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucianoqueiroz/conticket/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucianoqueiroz/conticket/contents/{+path}","compare_url":"https://api.github.com/repos/lucianoqueiroz/conticket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucianoqueiroz/conticket/merges","archive_url":"https://api.github.com/repos/lucianoqueiroz/conticket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucianoqueiroz/conticket/downloads","issues_url":"https://api.github.com/repos/lucianoqueiroz/conticket/issues{/number}","pulls_url":"https://api.github.com/repos/lucianoqueiroz/conticket/pulls{/number}","milestones_url":"https://api.github.com/repos/lucianoqueiroz/conticket/milestones{/number}","notifications_url":"https://api.github.com/repos/lucianoqueiroz/conticket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucianoqueiroz/conticket/labels{/name}","releases_url":"https://api.github.com/repos/lucianoqueiroz/conticket/releases{/id}","deployments_url":"https://api.github.com/repos/lucianoqueiroz/conticket/deployments","created_at":"2016-11-25T17:54:18Z","updated_at":"2016-11-25T17:54:19Z","pushed_at":"2016-12-02T02:01:06Z","git_url":"git://github.com/lucianoqueiroz/conticket.git","ssh_url":"git@github.com:lucianoqueiroz/conticket.git","clone_url":"https://github.com/lucianoqueiroz/conticket.git","svn_url":"https://github.com/lucianoqueiroz/conticket","homepage":null,"size":251,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PHPeste:master","ref":"master","sha":"f7d4e5a76b4ae3dbeb09a4b84b91e547675f0aaf","user":{"login":"PHPeste","id":12002569,"avatar_url":"https://avatars.githubusercontent.com/u/12002569?v=3","gravatar_id":"","url":"https://api.github.com/users/PHPeste","html_url":"https://github.com/PHPeste","followers_url":"https://api.github.com/users/PHPeste/followers","following_url":"https://api.github.com/users/PHPeste/following{/other_user}","gists_url":"https://api.github.com/users/PHPeste/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPeste/subscriptions","organizations_url":"https://api.github.com/users/PHPeste/orgs","repos_url":"https://api.github.com/users/PHPeste/repos","events_url":"https://api.github.com/users/PHPeste/events{/privacy}","received_events_url":"https://api.github.com/users/PHPeste/received_events","type":"Organization","site_admin":false},"repo":{"id":41068448,"name":"conticket","full_name":"PHPeste/conticket","owner":{"login":"PHPeste","id":12002569,"avatar_url":"https://avatars.githubusercontent.com/u/12002569?v=3","gravatar_id":"","url":"https://api.github.com/users/PHPeste","html_url":"https://github.com/PHPeste","followers_url":"https://api.github.com/users/PHPeste/followers","following_url":"https://api.github.com/users/PHPeste/following{/other_user}","gists_url":"https://api.github.com/users/PHPeste/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPeste/subscriptions","organizations_url":"https://api.github.com/users/PHPeste/orgs","repos_url":"https://api.github.com/users/PHPeste/repos","events_url":"https://api.github.com/users/PHPeste/events{/privacy}","received_events_url":"https://api.github.com/users/PHPeste/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PHPeste/conticket","description":"Sistema de vendas de ingressos","fork":false,"url":"https://api.github.com/repos/PHPeste/conticket","forks_url":"https://api.github.com/repos/PHPeste/conticket/forks","keys_url":"https://api.github.com/repos/PHPeste/conticket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PHPeste/conticket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PHPeste/conticket/teams","hooks_url":"https://api.github.com/repos/PHPeste/conticket/hooks","issue_events_url":"https://api.github.com/repos/PHPeste/conticket/issues/events{/number}","events_url":"https://api.github.com/repos/PHPeste/conticket/events","assignees_url":"https://api.github.com/repos/PHPeste/conticket/assignees{/user}","branches_url":"https://api.github.com/repos/PHPeste/conticket/branches{/branch}","tags_url":"https://api.github.com/repos/PHPeste/conticket/tags","blobs_url":"https://api.github.com/repos/PHPeste/conticket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PHPeste/conticket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PHPeste/conticket/git/refs{/sha}","trees_url":"https://api.github.com/repos/PHPeste/conticket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PHPeste/conticket/statuses/{sha}","languages_url":"https://api.github.com/repos/PHPeste/conticket/languages","stargazers_url":"https://api.github.com/repos/PHPeste/conticket/stargazers","contributors_url":"https://api.github.com/repos/PHPeste/conticket/contributors","subscribers_url":"https://api.github.com/repos/PHPeste/conticket/subscribers","subscription_url":"https://api.github.com/repos/PHPeste/conticket/subscription","commits_url":"https://api.github.com/repos/PHPeste/conticket/commits{/sha}","git_commits_url":"https://api.github.com/repos/PHPeste/conticket/git/commits{/sha}","comments_url":"https://api.github.com/repos/PHPeste/conticket/comments{/number}","issue_comment_url":"https://api.github.com/repos/PHPeste/conticket/issues/comments{/number}","contents_url":"https://api.github.com/repos/PHPeste/conticket/contents/{+path}","compare_url":"https://api.github.com/repos/PHPeste/conticket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PHPeste/conticket/merges","archive_url":"https://api.github.com/repos/PHPeste/conticket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PHPeste/conticket/downloads","issues_url":"https://api.github.com/repos/PHPeste/conticket/issues{/number}","pulls_url":"https://api.github.com/repos/PHPeste/conticket/pulls{/number}","milestones_url":"https://api.github.com/repos/PHPeste/conticket/milestones{/number}","notifications_url":"https://api.github.com/repos/PHPeste/conticket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PHPeste/conticket/labels{/name}","releases_url":"https://api.github.com/repos/PHPeste/conticket/releases{/id}","deployments_url":"https://api.github.com/repos/PHPeste/conticket/deployments","created_at":"2015-08-20T01:26:13Z","updated_at":"2016-11-25T17:54:13Z","pushed_at":"2016-12-02T02:01:06Z","git_url":"git://github.com/PHPeste/conticket.git","ssh_url":"git@github.com:PHPeste/conticket.git","clone_url":"https://github.com/PHPeste/conticket.git","svn_url":"https://github.com/PHPeste/conticket","homepage":null,"size":258,"stargazers_count":15,"watchers_count":15,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PHPeste/conticket/pulls/31"},"html":{"href":"https://github.com/PHPeste/conticket/pull/31"},"issue":{"href":"https://api.github.com/repos/PHPeste/conticket/issues/31"},"comments":{"href":"https://api.github.com/repos/PHPeste/conticket/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/PHPeste/conticket/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/PHPeste/conticket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PHPeste/conticket/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/PHPeste/conticket/statuses/029fcb6f05ba3d1a706fe2647cc991a834f21664"}}}}
{"actor":{"display_login":"malukenho"}}