{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/comments/52626971","id":52626971,"diff_hunk":"@@ -127,7 +127,7 @@ public function registerDoctrineMapping(array $config)\n             'fieldName'     => 'parent',\n             'targetEntity'  => $config['class']['category'],\n             'cascade'       => array(\n-                'remove',\n+                //'remove',","path":"DependencyInjection/SonataClassificationExtension.php","position":5,"original_position":5,"commit_id":"537d6685f6c3ea8dee19bb811604bdba087172f8","original_commit_id":"537d6685f6c3ea8dee19bb811604bdba087172f8","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"body":"Please remove this line. We don't want dead code","created_at":"2016-02-11T16:33:43Z","updated_at":"2016-02-11T16:33:43Z","html_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/43#discussion_r52626971","pull_request_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/comments/52626971"},"html":{"href":"https://github.com/sonata-project/SonataClassificationBundle/pull/43#discussion_r52626971"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43","id":20790036,"html_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/43","diff_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/43.diff","patch_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/43.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/43","number":43,"state":"open","locked":false,"title":"Fix the issue with cascade delete parent category","user":{"login":"danvbe","id":1024199,"avatar_url":"https://avatars.githubusercontent.com/u/1024199?v=3","gravatar_id":"","url":"https://api.github.com/users/danvbe","html_url":"https://github.com/danvbe","followers_url":"https://api.github.com/users/danvbe/followers","following_url":"https://api.github.com/users/danvbe/following{/other_user}","gists_url":"https://api.github.com/users/danvbe/gists{/gist_id}","starred_url":"https://api.github.com/users/danvbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danvbe/subscriptions","organizations_url":"https://api.github.com/users/danvbe/orgs","repos_url":"https://api.github.com/users/danvbe/repos","events_url":"https://api.github.com/users/danvbe/events{/privacy}","received_events_url":"https://api.github.com/users/danvbe/received_events","type":"User","site_admin":false},"body":"Addressing [this issue](https://github.com/sonata-project/SonataClassificationBundle/issues/28)... which I had myself, here is the fix.","created_at":"2014-09-05T06:21:01Z","updated_at":"2016-02-11T16:33:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"800d23aa5dd9b7498f37b202427c3140b8b38be8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/43/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/statuses/537d6685f6c3ea8dee19bb811604bdba087172f8","head":{"label":"danvbe:master","ref":"master","sha":"537d6685f6c3ea8dee19bb811604bdba087172f8","user":{"login":"danvbe","id":1024199,"avatar_url":"https://avatars.githubusercontent.com/u/1024199?v=3","gravatar_id":"","url":"https://api.github.com/users/danvbe","html_url":"https://github.com/danvbe","followers_url":"https://api.github.com/users/danvbe/followers","following_url":"https://api.github.com/users/danvbe/following{/other_user}","gists_url":"https://api.github.com/users/danvbe/gists{/gist_id}","starred_url":"https://api.github.com/users/danvbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danvbe/subscriptions","organizations_url":"https://api.github.com/users/danvbe/orgs","repos_url":"https://api.github.com/users/danvbe/repos","events_url":"https://api.github.com/users/danvbe/events{/privacy}","received_events_url":"https://api.github.com/users/danvbe/received_events","type":"User","site_admin":false},"repo":{"id":23692477,"name":"SonataClassificationBundle","full_name":"danvbe/SonataClassificationBundle","owner":{"login":"danvbe","id":1024199,"avatar_url":"https://avatars.githubusercontent.com/u/1024199?v=3","gravatar_id":"","url":"https://api.github.com/users/danvbe","html_url":"https://github.com/danvbe","followers_url":"https://api.github.com/users/danvbe/followers","following_url":"https://api.github.com/users/danvbe/following{/other_user}","gists_url":"https://api.github.com/users/danvbe/gists{/gist_id}","starred_url":"https://api.github.com/users/danvbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danvbe/subscriptions","organizations_url":"https://api.github.com/users/danvbe/orgs","repos_url":"https://api.github.com/users/danvbe/repos","events_url":"https://api.github.com/users/danvbe/events{/privacy}","received_events_url":"https://api.github.com/users/danvbe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danvbe/SonataClassificationBundle","description":"A classification bundle to help organize your entities: tag, category and taxonomy","fork":true,"url":"https://api.github.com/repos/danvbe/SonataClassificationBundle","forks_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/forks","keys_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/teams","hooks_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/hooks","issue_events_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/issues/events{/number}","events_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/events","assignees_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/assignees{/user}","branches_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/branches{/branch}","tags_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/tags","blobs_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/languages","stargazers_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/stargazers","contributors_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/contributors","subscribers_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/subscribers","subscription_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/subscription","commits_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/contents/{+path}","compare_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/merges","archive_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/downloads","issues_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/issues{/number}","pulls_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/labels{/name}","releases_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/releases{/id}","deployments_url":"https://api.github.com/repos/danvbe/SonataClassificationBundle/deployments","created_at":"2014-09-05T06:17:18Z","updated_at":"2014-09-05T06:19:49Z","pushed_at":"2014-09-05T06:19:49Z","git_url":"git://github.com/danvbe/SonataClassificationBundle.git","ssh_url":"git@github.com:danvbe/SonataClassificationBundle.git","clone_url":"https://github.com/danvbe/SonataClassificationBundle.git","svn_url":"https://github.com/danvbe/SonataClassificationBundle","homepage":"","size":210,"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":"sonata-project:master","ref":"master","sha":"c3650b1a07c5c7f80cbdb3f769199fe037f8fdca","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":13283145,"name":"SonataClassificationBundle","full_name":"sonata-project/SonataClassificationBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataClassificationBundle","description":"A classification bundle to help organize your entities: tag, category and taxonomy","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/deployments","created_at":"2013-10-02T21:15:53Z","updated_at":"2016-01-13T03:22:47Z","pushed_at":"2016-02-11T04:14:11Z","git_url":"git://github.com/sonata-project/SonataClassificationBundle.git","ssh_url":"git@github.com:sonata-project/SonataClassificationBundle.git","clone_url":"https://github.com/sonata-project/SonataClassificationBundle.git","svn_url":"https://github.com/sonata-project/SonataClassificationBundle","homepage":"","size":305,"stargazers_count":20,"watchers_count":20,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":46,"forks":71,"open_issues":46,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43"},"html":{"href":"https://github.com/sonata-project/SonataClassificationBundle/pull/43"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/43"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/statuses/537d6685f6c3ea8dee19bb811604bdba087172f8"}}}}