{"action":"created","comment":{"url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/comments/52736082","id":52736082,"diff_hunk":"@@ -39,13 +39,31 @@ class QuerySubscriber implements EventSubscriberInterface\n     private $eventDispatcher;\n \n     /**\n+     * @var QueryBuilderConverter\n+     */\n+    private $builderConverter;\n+\n+    /**\n+     * @var string\n+     */\n+    private $queryBuilderClass;\n+\n+    /**\n      * @param SessionInterface $session\n      * @param EventDispatcherInterface $eventDispatcher\n+     * @param QueryBuilderConverter $converter\n+     * @param string $queryBuilderClass\n      */\n-    public function __construct(SessionInterface $session, EventDispatcherInterface $eventDispatcher)\n+    public function __construct(\n+        SessionInterface $session,\n+        EventDispatcherInterface $eventDispatcher,\n+        QueryBuilderConverter $builderConverter,\n+        $queryBuilderClass = 'Doctrine\\ODM\\PHPCR\\Query\\Builder\\QueryBuilder')","path":"lib/Subscriber/Phpcr/QuerySubscriber.php","position":40,"original_position":40,"commit_id":"6a5fd93720b4867bd0a736299a3e38d2f4aed446","original_commit_id":"6a5fd93720b4867bd0a736299a3e38d2f4aed446","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"body":"The bracket belongs to the next line together with the curling bracket.","created_at":"2016-02-12T12:35:12Z","updated_at":"2016-02-12T12:35:12Z","html_url":"https://github.com/sulu-io/sulu-document-manager/pull/60#discussion_r52736082","pull_request_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/comments/52736082"},"html":{"href":"https://github.com/sulu-io/sulu-document-manager/pull/60#discussion_r52736082"},"pull_request":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60","id":59158341,"html_url":"https://github.com/sulu-io/sulu-document-manager/pull/60","diff_url":"https://github.com/sulu-io/sulu-document-manager/pull/60.diff","patch_url":"https://github.com/sulu-io/sulu-document-manager/pull/60.patch","issue_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/60","number":60,"state":"open","locked":false,"title":"Query Builder","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"body":"Introduces a QueryBuilder based on PHPCR-ODM","created_at":"2016-02-12T10:54:51Z","updated_at":"2016-02-12T12:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"805ea811c0caf0615ca19144990688ef4a999c0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60/commits","review_comments_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60/comments","review_comment_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/60/comments","statuses_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/statuses/6a5fd93720b4867bd0a736299a3e38d2f4aed446","head":{"label":"sulu-io:query_builder_2016","ref":"query_builder_2016","sha":"6a5fd93720b4867bd0a736299a3e38d2f4aed446","user":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"repo":{"id":35034068,"name":"sulu-document-manager","full_name":"sulu-io/sulu-document-manager","owner":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu-io/sulu-document-manager","description":"Sulu document manager","fork":false,"url":"https://api.github.com/repos/sulu-io/sulu-document-manager","forks_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/forks","keys_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/teams","hooks_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/hooks","issue_events_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/events{/number}","events_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/events","assignees_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/assignees{/user}","branches_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/branches{/branch}","tags_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/tags","blobs_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/languages","stargazers_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/stargazers","contributors_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/contributors","subscribers_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/subscribers","subscription_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/subscription","commits_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/contents/{+path}","compare_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/merges","archive_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/downloads","issues_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues{/number}","pulls_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/labels{/name}","releases_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/releases{/id}","deployments_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/deployments","created_at":"2015-05-04T12:42:07Z","updated_at":"2015-09-16T13:27:57Z","pushed_at":"2016-02-12T12:10:58Z","git_url":"git://github.com/sulu-io/sulu-document-manager.git","ssh_url":"git@github.com:sulu-io/sulu-document-manager.git","clone_url":"https://github.com/sulu-io/sulu-document-manager.git","svn_url":"https://github.com/sulu-io/sulu-document-manager","homepage":"sulu.io","size":460,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":2,"default_branch":"master"}},"base":{"label":"sulu-io:develop","ref":"develop","sha":"ff468000d374227ac5299d5241dcc5ecb0415a61","user":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"repo":{"id":35034068,"name":"sulu-document-manager","full_name":"sulu-io/sulu-document-manager","owner":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu-io/sulu-document-manager","description":"Sulu document manager","fork":false,"url":"https://api.github.com/repos/sulu-io/sulu-document-manager","forks_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/forks","keys_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/teams","hooks_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/hooks","issue_events_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/events{/number}","events_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/events","assignees_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/assignees{/user}","branches_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/branches{/branch}","tags_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/tags","blobs_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/languages","stargazers_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/stargazers","contributors_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/contributors","subscribers_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/subscribers","subscription_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/subscription","commits_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/contents/{+path}","compare_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/merges","archive_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/downloads","issues_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues{/number}","pulls_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/labels{/name}","releases_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/releases{/id}","deployments_url":"https://api.github.com/repos/sulu-io/sulu-document-manager/deployments","created_at":"2015-05-04T12:42:07Z","updated_at":"2015-09-16T13:27:57Z","pushed_at":"2016-02-12T12:10:58Z","git_url":"git://github.com/sulu-io/sulu-document-manager.git","ssh_url":"git@github.com:sulu-io/sulu-document-manager.git","clone_url":"https://github.com/sulu-io/sulu-document-manager.git","svn_url":"https://github.com/sulu-io/sulu-document-manager","homepage":"sulu.io","size":460,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60"},"html":{"href":"https://github.com/sulu-io/sulu-document-manager/pull/60"},"issue":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/60"},"comments":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/sulu-io/sulu-document-manager/statuses/6a5fd93720b4867bd0a736299a3e38d2f4aed446"}}}}