{"action":"created","comment":{"url":"https://api.github.com/repos/doctrine/dbal/pulls/comments/64823290","id":64823290,"diff_hunk":"@@ -22,6 +22,13 @@ public function testCount()\n         $this->assertEquals(2, count($expr));\n     }\n \n+    public function testToString()\n+    {\n+        $expr = new CompositeExpression(CompositeExpression::TYPE_AND, array('u.username = \"foo\"', 'u.name = \"bar\"'));\n+\n+        static::assertEquals('(u.username = \"foo\") AND (u.name = \"bar\")', (string) $expr);","path":"tests/Doctrine/Tests/DBAL/Query/Expression/CompositeExpressionTest.php","position":8,"original_position":8,"commit_id":"e2b270fac66ddba26e3a9e5d428c0de468b9ea19","original_commit_id":"e2b270fac66ddba26e3a9e5d428c0de468b9ea19","user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"body":"Should indeed be `self::`","created_at":"2016-05-26T21:22:51Z","updated_at":"2016-05-26T21:22:51Z","html_url":"https://github.com/doctrine/dbal/pull/2343#discussion_r64823290","pull_request_url":"https://api.github.com/repos/doctrine/dbal/pulls/2343","_links":{"self":{"href":"https://api.github.com/repos/doctrine/dbal/pulls/comments/64823290"},"html":{"href":"https://github.com/doctrine/dbal/pull/2343#discussion_r64823290"},"pull_request":{"href":"https://api.github.com/repos/doctrine/dbal/pulls/2343"}}},"pull_request":{"url":"https://api.github.com/repos/doctrine/dbal/pulls/2343","id":64269204,"html_url":"https://github.com/doctrine/dbal/pull/2343","diff_url":"https://github.com/doctrine/dbal/pull/2343.diff","patch_url":"https://github.com/doctrine/dbal/pull/2343.patch","issue_url":"https://api.github.com/repos/doctrine/dbal/issues/2343","number":2343,"state":"open","locked":false,"title":"doctrine \\Doctrine\\DBAL\\Query\\QueryBuilder getSQL crash","user":{"login":"jeanCarloMachado","id":2252355,"avatar_url":"https://avatars.githubusercontent.com/u/2252355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanCarloMachado","html_url":"https://github.com/jeanCarloMachado","followers_url":"https://api.github.com/users/jeanCarloMachado/followers","following_url":"https://api.github.com/users/jeanCarloMachado/following{/other_user}","gists_url":"https://api.github.com/users/jeanCarloMachado/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanCarloMachado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanCarloMachado/subscriptions","organizations_url":"https://api.github.com/users/jeanCarloMachado/orgs","repos_url":"https://api.github.com/users/jeanCarloMachado/repos","events_url":"https://api.github.com/users/jeanCarloMachado/events{/privacy}","received_events_url":"https://api.github.com/users/jeanCarloMachado/received_events","type":"User","site_admin":false},"body":"Refers to https://github.com/doctrine/dbal/issues/2330","created_at":"2016-03-27T16:21:56Z","updated_at":"2016-05-26T21:22:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00162b657b7cb6c9f370ef89b55b4aaa12e99e6e","assignee":{"login":"deeky666","id":1411514,"avatar_url":"https://avatars.githubusercontent.com/u/1411514?v=3","gravatar_id":"","url":"https://api.github.com/users/deeky666","html_url":"https://github.com/deeky666","followers_url":"https://api.github.com/users/deeky666/followers","following_url":"https://api.github.com/users/deeky666/following{/other_user}","gists_url":"https://api.github.com/users/deeky666/gists{/gist_id}","starred_url":"https://api.github.com/users/deeky666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeky666/subscriptions","organizations_url":"https://api.github.com/users/deeky666/orgs","repos_url":"https://api.github.com/users/deeky666/repos","events_url":"https://api.github.com/users/deeky666/events{/privacy}","received_events_url":"https://api.github.com/users/deeky666/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/doctrine/dbal/milestones/50","html_url":"https://github.com/doctrine/dbal/milestones/2.5.5","labels_url":"https://api.github.com/repos/doctrine/dbal/milestones/50/labels","id":1486000,"number":50,"title":"2.5.5","description":"","creator":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":17,"state":"open","created_at":"2016-01-05T21:59:07Z","updated_at":"2016-05-26T16:00:03Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/doctrine/dbal/pulls/2343/commits","review_comments_url":"https://api.github.com/repos/doctrine/dbal/pulls/2343/comments","review_comment_url":"https://api.github.com/repos/doctrine/dbal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/dbal/issues/2343/comments","statuses_url":"https://api.github.com/repos/doctrine/dbal/statuses/e2b270fac66ddba26e3a9e5d428c0de468b9ea19","head":{"label":"jeanCarloMachado:issue/2330","ref":"issue/2330","sha":"e2b270fac66ddba26e3a9e5d428c0de468b9ea19","user":{"login":"jeanCarloMachado","id":2252355,"avatar_url":"https://avatars.githubusercontent.com/u/2252355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanCarloMachado","html_url":"https://github.com/jeanCarloMachado","followers_url":"https://api.github.com/users/jeanCarloMachado/followers","following_url":"https://api.github.com/users/jeanCarloMachado/following{/other_user}","gists_url":"https://api.github.com/users/jeanCarloMachado/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanCarloMachado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanCarloMachado/subscriptions","organizations_url":"https://api.github.com/users/jeanCarloMachado/orgs","repos_url":"https://api.github.com/users/jeanCarloMachado/repos","events_url":"https://api.github.com/users/jeanCarloMachado/events{/privacy}","received_events_url":"https://api.github.com/users/jeanCarloMachado/received_events","type":"User","site_admin":false},"repo":{"id":49302142,"name":"dbal","full_name":"jeanCarloMachado/dbal","owner":{"login":"jeanCarloMachado","id":2252355,"avatar_url":"https://avatars.githubusercontent.com/u/2252355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanCarloMachado","html_url":"https://github.com/jeanCarloMachado","followers_url":"https://api.github.com/users/jeanCarloMachado/followers","following_url":"https://api.github.com/users/jeanCarloMachado/following{/other_user}","gists_url":"https://api.github.com/users/jeanCarloMachado/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanCarloMachado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanCarloMachado/subscriptions","organizations_url":"https://api.github.com/users/jeanCarloMachado/orgs","repos_url":"https://api.github.com/users/jeanCarloMachado/repos","events_url":"https://api.github.com/users/jeanCarloMachado/events{/privacy}","received_events_url":"https://api.github.com/users/jeanCarloMachado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeanCarloMachado/dbal","description":"Doctrine Database Abstraction Layer","fork":true,"url":"https://api.github.com/repos/jeanCarloMachado/dbal","forks_url":"https://api.github.com/repos/jeanCarloMachado/dbal/forks","keys_url":"https://api.github.com/repos/jeanCarloMachado/dbal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeanCarloMachado/dbal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeanCarloMachado/dbal/teams","hooks_url":"https://api.github.com/repos/jeanCarloMachado/dbal/hooks","issue_events_url":"https://api.github.com/repos/jeanCarloMachado/dbal/issues/events{/number}","events_url":"https://api.github.com/repos/jeanCarloMachado/dbal/events","assignees_url":"https://api.github.com/repos/jeanCarloMachado/dbal/assignees{/user}","branches_url":"https://api.github.com/repos/jeanCarloMachado/dbal/branches{/branch}","tags_url":"https://api.github.com/repos/jeanCarloMachado/dbal/tags","blobs_url":"https://api.github.com/repos/jeanCarloMachado/dbal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeanCarloMachado/dbal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeanCarloMachado/dbal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeanCarloMachado/dbal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeanCarloMachado/dbal/statuses/{sha}","languages_url":"https://api.github.com/repos/jeanCarloMachado/dbal/languages","stargazers_url":"https://api.github.com/repos/jeanCarloMachado/dbal/stargazers","contributors_url":"https://api.github.com/repos/jeanCarloMachado/dbal/contributors","subscribers_url":"https://api.github.com/repos/jeanCarloMachado/dbal/subscribers","subscription_url":"https://api.github.com/repos/jeanCarloMachado/dbal/subscription","commits_url":"https://api.github.com/repos/jeanCarloMachado/dbal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeanCarloMachado/dbal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeanCarloMachado/dbal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeanCarloMachado/dbal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeanCarloMachado/dbal/contents/{+path}","compare_url":"https://api.github.com/repos/jeanCarloMachado/dbal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeanCarloMachado/dbal/merges","archive_url":"https://api.github.com/repos/jeanCarloMachado/dbal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeanCarloMachado/dbal/downloads","issues_url":"https://api.github.com/repos/jeanCarloMachado/dbal/issues{/number}","pulls_url":"https://api.github.com/repos/jeanCarloMachado/dbal/pulls{/number}","milestones_url":"https://api.github.com/repos/jeanCarloMachado/dbal/milestones{/number}","notifications_url":"https://api.github.com/repos/jeanCarloMachado/dbal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeanCarloMachado/dbal/labels{/name}","releases_url":"https://api.github.com/repos/jeanCarloMachado/dbal/releases{/id}","deployments_url":"https://api.github.com/repos/jeanCarloMachado/dbal/deployments","created_at":"2016-01-08T23:19:31Z","updated_at":"2016-01-08T23:19:33Z","pushed_at":"2016-03-27T16:20:46Z","git_url":"git://github.com/jeanCarloMachado/dbal.git","ssh_url":"git@github.com:jeanCarloMachado/dbal.git","clone_url":"https://github.com/jeanCarloMachado/dbal.git","svn_url":"https://github.com/jeanCarloMachado/dbal","homepage":"http://www.doctrine-project.org/projects/dbal","size":21467,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"doctrine:2.4","ref":"2.4","sha":"f5b85d182799c539d1a56aa145977aa2c43dfe1a","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":677464,"name":"dbal","full_name":"doctrine/dbal","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/dbal","description":"Doctrine Database Abstraction Layer","fork":false,"url":"https://api.github.com/repos/doctrine/dbal","forks_url":"https://api.github.com/repos/doctrine/dbal/forks","keys_url":"https://api.github.com/repos/doctrine/dbal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/dbal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/dbal/teams","hooks_url":"https://api.github.com/repos/doctrine/dbal/hooks","issue_events_url":"https://api.github.com/repos/doctrine/dbal/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/dbal/events","assignees_url":"https://api.github.com/repos/doctrine/dbal/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/dbal/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/dbal/tags","blobs_url":"https://api.github.com/repos/doctrine/dbal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/dbal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/dbal/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/dbal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/dbal/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/dbal/languages","stargazers_url":"https://api.github.com/repos/doctrine/dbal/stargazers","contributors_url":"https://api.github.com/repos/doctrine/dbal/contributors","subscribers_url":"https://api.github.com/repos/doctrine/dbal/subscribers","subscription_url":"https://api.github.com/repos/doctrine/dbal/subscription","commits_url":"https://api.github.com/repos/doctrine/dbal/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/dbal/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/dbal/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/dbal/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/dbal/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/dbal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/dbal/merges","archive_url":"https://api.github.com/repos/doctrine/dbal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/dbal/downloads","issues_url":"https://api.github.com/repos/doctrine/dbal/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/dbal/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/dbal/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/dbal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/dbal/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/dbal/releases{/id}","deployments_url":"https://api.github.com/repos/doctrine/dbal/deployments","created_at":"2010-05-20T17:01:42Z","updated_at":"2016-05-26T20:20:41Z","pushed_at":"2016-05-26T01:46:18Z","git_url":"git://github.com/doctrine/dbal.git","ssh_url":"git@github.com:doctrine/dbal.git","clone_url":"https://github.com/doctrine/dbal.git","svn_url":"https://github.com/doctrine/dbal","homepage":"http://www.doctrine-project.org/projects/dbal","size":27181,"stargazers_count":738,"watchers_count":738,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":627,"mirror_url":null,"open_issues_count":279,"forks":627,"open_issues":279,"watchers":738,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/dbal/pulls/2343"},"html":{"href":"https://github.com/doctrine/dbal/pull/2343"},"issue":{"href":"https://api.github.com/repos/doctrine/dbal/issues/2343"},"comments":{"href":"https://api.github.com/repos/doctrine/dbal/issues/2343/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/dbal/pulls/2343/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/dbal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/dbal/pulls/2343/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/dbal/statuses/e2b270fac66ddba26e3a9e5d428c0de468b9ea19"}}}}
{"actor":{"display_login":"Ocramius"}}