{"action":"created","comment":{"url":"https://api.github.com/repos/kreta-io/kreta/pulls/comments/22622653","id":22622653,"diff_hunk":"@@ -0,0 +1,48 @@\n+<?php\n+\n+/**\n+ * This file belongs to Kreta.\n+ * The source code of application includes a LICENSE file\n+ * with all information about license.\n+ *\n+ * @author benatespina <benatespina@gmail.com>\n+ * @author gorkalaucirica <gorka.lauzirika@gmail.com>\n+ */\n+\n+namespace Kreta\\Component\\VCS\\Event;\n+\n+use Kreta\\Component\\VCS\\Model\\Interfaces\\BranchInterface;\n+use Symfony\\Component\\EventDispatcher\\Event;\n+\n+/**\n+ * Class NewBranchEvent\n+ *\n+ * @package Kreta\\Component\\VCS\\Event\n+ */\n+class NewBranchEvent extends Event\n+{\n+    const NAME = 'kreta_vcs.event.branch.new';\n+\n+    /** @var BranchInterface */\n+    protected $branch;\n+\n+    /**\n+     * Creates new commit event.\n+     *\n+     * @param BranchInterface $branch","path":"src/Kreta/Component/VCS/Event/NewBranchEvent.php","position":32,"original_position":32,"commit_id":"cfe7b4de89ce13e3e68bab813fcefec7a7b9d0d0","original_commit_id":"cfe7b4de89ce13e3e68bab813fcefec7a7b9d0d0","user":{"login":"benatespina","id":3951376,"avatar_url":"https://avatars.githubusercontent.com/u/3951376?v=3","gravatar_id":"","url":"https://api.github.com/users/benatespina","html_url":"https://github.com/benatespina","followers_url":"https://api.github.com/users/benatespina/followers","following_url":"https://api.github.com/users/benatespina/following{/other_user}","gists_url":"https://api.github.com/users/benatespina/gists{/gist_id}","starred_url":"https://api.github.com/users/benatespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benatespina/subscriptions","organizations_url":"https://api.github.com/users/benatespina/orgs","repos_url":"https://api.github.com/users/benatespina/repos","events_url":"https://api.github.com/users/benatespina/events{/privacy}","received_events_url":"https://api.github.com/users/benatespina/received_events","type":"User","site_admin":false},"body":"Fully qualified namespace and description","created_at":"2015-01-07T22:41:10Z","updated_at":"2015-01-07T22:41:10Z","html_url":"https://github.com/kreta-io/kreta/pull/51#discussion_r22622653","pull_request_url":"https://api.github.com/repos/kreta-io/kreta/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/kreta-io/kreta/pulls/comments/22622653"},"html":{"href":"https://github.com/kreta-io/kreta/pull/51#discussion_r22622653"},"pull_request":{"href":"https://api.github.com/repos/kreta-io/kreta/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/kreta-io/kreta/pulls/51","id":26784192,"html_url":"https://github.com/kreta-io/kreta/pull/51","diff_url":"https://github.com/kreta-io/kreta/pull/51.diff","patch_url":"https://github.com/kreta-io/kreta/pull/51.patch","issue_url":"https://api.github.com/repos/kreta-io/kreta/issues/51","number":51,"state":"open","locked":false,"title":"VCS component and bundle with Github integration","user":{"login":"gorkalaucirica","id":1749891,"avatar_url":"https://avatars.githubusercontent.com/u/1749891?v=3","gravatar_id":"","url":"https://api.github.com/users/gorkalaucirica","html_url":"https://github.com/gorkalaucirica","followers_url":"https://api.github.com/users/gorkalaucirica/followers","following_url":"https://api.github.com/users/gorkalaucirica/following{/other_user}","gists_url":"https://api.github.com/users/gorkalaucirica/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkalaucirica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkalaucirica/subscriptions","organizations_url":"https://api.github.com/users/gorkalaucirica/orgs","repos_url":"https://api.github.com/users/gorkalaucirica/repos","events_url":"https://api.github.com/users/gorkalaucirica/events{/privacy}","received_events_url":"https://api.github.com/users/gorkalaucirica/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-03T16:12:10Z","updated_at":"2015-01-07T22:41:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2c97e3d2d475318c1c02716b9f95779914adf90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kreta-io/kreta/pulls/51/commits","review_comments_url":"https://api.github.com/repos/kreta-io/kreta/pulls/51/comments","review_comment_url":"https://api.github.com/repos/kreta-io/kreta/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kreta-io/kreta/issues/51/comments","statuses_url":"https://api.github.com/repos/kreta-io/kreta/statuses/cfe7b4de89ce13e3e68bab813fcefec7a7b9d0d0","head":{"label":"kreta-io:feature/vcs-component","ref":"feature/vcs-component","sha":"cfe7b4de89ce13e3e68bab813fcefec7a7b9d0d0","user":{"login":"kreta-io","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta-io","html_url":"https://github.com/kreta-io","followers_url":"https://api.github.com/users/kreta-io/followers","following_url":"https://api.github.com/users/kreta-io/following{/other_user}","gists_url":"https://api.github.com/users/kreta-io/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta-io/subscriptions","organizations_url":"https://api.github.com/users/kreta-io/orgs","repos_url":"https://api.github.com/users/kreta-io/repos","events_url":"https://api.github.com/users/kreta-io/events{/privacy}","received_events_url":"https://api.github.com/users/kreta-io/received_events","type":"Organization","site_admin":false},"repo":{"id":25040658,"name":"kreta","full_name":"kreta-io/kreta","owner":{"login":"kreta-io","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta-io","html_url":"https://github.com/kreta-io","followers_url":"https://api.github.com/users/kreta-io/followers","following_url":"https://api.github.com/users/kreta-io/following{/other_user}","gists_url":"https://api.github.com/users/kreta-io/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta-io/subscriptions","organizations_url":"https://api.github.com/users/kreta-io/orgs","repos_url":"https://api.github.com/users/kreta-io/repos","events_url":"https://api.github.com/users/kreta-io/events{/privacy}","received_events_url":"https://api.github.com/users/kreta-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kreta-io/kreta","description":"Modern open source project manager.","fork":false,"url":"https://api.github.com/repos/kreta-io/kreta","forks_url":"https://api.github.com/repos/kreta-io/kreta/forks","keys_url":"https://api.github.com/repos/kreta-io/kreta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kreta-io/kreta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kreta-io/kreta/teams","hooks_url":"https://api.github.com/repos/kreta-io/kreta/hooks","issue_events_url":"https://api.github.com/repos/kreta-io/kreta/issues/events{/number}","events_url":"https://api.github.com/repos/kreta-io/kreta/events","assignees_url":"https://api.github.com/repos/kreta-io/kreta/assignees{/user}","branches_url":"https://api.github.com/repos/kreta-io/kreta/branches{/branch}","tags_url":"https://api.github.com/repos/kreta-io/kreta/tags","blobs_url":"https://api.github.com/repos/kreta-io/kreta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kreta-io/kreta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kreta-io/kreta/git/refs{/sha}","trees_url":"https://api.github.com/repos/kreta-io/kreta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kreta-io/kreta/statuses/{sha}","languages_url":"https://api.github.com/repos/kreta-io/kreta/languages","stargazers_url":"https://api.github.com/repos/kreta-io/kreta/stargazers","contributors_url":"https://api.github.com/repos/kreta-io/kreta/contributors","subscribers_url":"https://api.github.com/repos/kreta-io/kreta/subscribers","subscription_url":"https://api.github.com/repos/kreta-io/kreta/subscription","commits_url":"https://api.github.com/repos/kreta-io/kreta/commits{/sha}","git_commits_url":"https://api.github.com/repos/kreta-io/kreta/git/commits{/sha}","comments_url":"https://api.github.com/repos/kreta-io/kreta/comments{/number}","issue_comment_url":"https://api.github.com/repos/kreta-io/kreta/issues/comments/{number}","contents_url":"https://api.github.com/repos/kreta-io/kreta/contents/{+path}","compare_url":"https://api.github.com/repos/kreta-io/kreta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kreta-io/kreta/merges","archive_url":"https://api.github.com/repos/kreta-io/kreta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kreta-io/kreta/downloads","issues_url":"https://api.github.com/repos/kreta-io/kreta/issues{/number}","pulls_url":"https://api.github.com/repos/kreta-io/kreta/pulls{/number}","milestones_url":"https://api.github.com/repos/kreta-io/kreta/milestones{/number}","notifications_url":"https://api.github.com/repos/kreta-io/kreta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kreta-io/kreta/labels{/name}","releases_url":"https://api.github.com/repos/kreta-io/kreta/releases{/id}","created_at":"2014-10-10T15:08:10Z","updated_at":"2015-01-04T14:49:30Z","pushed_at":"2015-01-05T18:54:38Z","git_url":"git://github.com/kreta-io/kreta.git","ssh_url":"git@github.com:kreta-io/kreta.git","clone_url":"https://github.com/kreta-io/kreta.git","svn_url":"https://github.com/kreta-io/kreta","homepage":"http://kreta.io","size":8316,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"kreta-io:master","ref":"master","sha":"097c501d73bdd5c3bb268f1b42762a61e4e0012c","user":{"login":"kreta-io","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta-io","html_url":"https://github.com/kreta-io","followers_url":"https://api.github.com/users/kreta-io/followers","following_url":"https://api.github.com/users/kreta-io/following{/other_user}","gists_url":"https://api.github.com/users/kreta-io/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta-io/subscriptions","organizations_url":"https://api.github.com/users/kreta-io/orgs","repos_url":"https://api.github.com/users/kreta-io/repos","events_url":"https://api.github.com/users/kreta-io/events{/privacy}","received_events_url":"https://api.github.com/users/kreta-io/received_events","type":"Organization","site_admin":false},"repo":{"id":25040658,"name":"kreta","full_name":"kreta-io/kreta","owner":{"login":"kreta-io","id":9137073,"avatar_url":"https://avatars.githubusercontent.com/u/9137073?v=3","gravatar_id":"","url":"https://api.github.com/users/kreta-io","html_url":"https://github.com/kreta-io","followers_url":"https://api.github.com/users/kreta-io/followers","following_url":"https://api.github.com/users/kreta-io/following{/other_user}","gists_url":"https://api.github.com/users/kreta-io/gists{/gist_id}","starred_url":"https://api.github.com/users/kreta-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreta-io/subscriptions","organizations_url":"https://api.github.com/users/kreta-io/orgs","repos_url":"https://api.github.com/users/kreta-io/repos","events_url":"https://api.github.com/users/kreta-io/events{/privacy}","received_events_url":"https://api.github.com/users/kreta-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kreta-io/kreta","description":"Modern open source project manager.","fork":false,"url":"https://api.github.com/repos/kreta-io/kreta","forks_url":"https://api.github.com/repos/kreta-io/kreta/forks","keys_url":"https://api.github.com/repos/kreta-io/kreta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kreta-io/kreta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kreta-io/kreta/teams","hooks_url":"https://api.github.com/repos/kreta-io/kreta/hooks","issue_events_url":"https://api.github.com/repos/kreta-io/kreta/issues/events{/number}","events_url":"https://api.github.com/repos/kreta-io/kreta/events","assignees_url":"https://api.github.com/repos/kreta-io/kreta/assignees{/user}","branches_url":"https://api.github.com/repos/kreta-io/kreta/branches{/branch}","tags_url":"https://api.github.com/repos/kreta-io/kreta/tags","blobs_url":"https://api.github.com/repos/kreta-io/kreta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kreta-io/kreta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kreta-io/kreta/git/refs{/sha}","trees_url":"https://api.github.com/repos/kreta-io/kreta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kreta-io/kreta/statuses/{sha}","languages_url":"https://api.github.com/repos/kreta-io/kreta/languages","stargazers_url":"https://api.github.com/repos/kreta-io/kreta/stargazers","contributors_url":"https://api.github.com/repos/kreta-io/kreta/contributors","subscribers_url":"https://api.github.com/repos/kreta-io/kreta/subscribers","subscription_url":"https://api.github.com/repos/kreta-io/kreta/subscription","commits_url":"https://api.github.com/repos/kreta-io/kreta/commits{/sha}","git_commits_url":"https://api.github.com/repos/kreta-io/kreta/git/commits{/sha}","comments_url":"https://api.github.com/repos/kreta-io/kreta/comments{/number}","issue_comment_url":"https://api.github.com/repos/kreta-io/kreta/issues/comments/{number}","contents_url":"https://api.github.com/repos/kreta-io/kreta/contents/{+path}","compare_url":"https://api.github.com/repos/kreta-io/kreta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kreta-io/kreta/merges","archive_url":"https://api.github.com/repos/kreta-io/kreta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kreta-io/kreta/downloads","issues_url":"https://api.github.com/repos/kreta-io/kreta/issues{/number}","pulls_url":"https://api.github.com/repos/kreta-io/kreta/pulls{/number}","milestones_url":"https://api.github.com/repos/kreta-io/kreta/milestones{/number}","notifications_url":"https://api.github.com/repos/kreta-io/kreta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kreta-io/kreta/labels{/name}","releases_url":"https://api.github.com/repos/kreta-io/kreta/releases{/id}","created_at":"2014-10-10T15:08:10Z","updated_at":"2015-01-04T14:49:30Z","pushed_at":"2015-01-05T18:54:38Z","git_url":"git://github.com/kreta-io/kreta.git","ssh_url":"git@github.com:kreta-io/kreta.git","clone_url":"https://github.com/kreta-io/kreta.git","svn_url":"https://github.com/kreta-io/kreta","homepage":"http://kreta.io","size":8316,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kreta-io/kreta/pulls/51"},"html":{"href":"https://github.com/kreta-io/kreta/pull/51"},"issue":{"href":"https://api.github.com/repos/kreta-io/kreta/issues/51"},"comments":{"href":"https://api.github.com/repos/kreta-io/kreta/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/kreta-io/kreta/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/kreta-io/kreta/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kreta-io/kreta/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/kreta-io/kreta/statuses/cfe7b4de89ce13e3e68bab813fcefec7a7b9d0d0"}}}}