{"action":"created","comment":{"url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/comments/27775971","id":27775971,"diff_hunk":"@@ -0,0 +1,64 @@\n+<?php\n+namespace Jackalope\\Transport\\DoctrineDBAL;\n+\n+use Doctrine\\DBAL\\Platforms\\SqlitePlatform;\n+use Jackalope\\Test\\TestCase;\n+use PHPCR\\PropertyType;\n+use PHPCR\\Util\\NodeHelper;\n+use PHPCR\\Util\\PathHelper;\n+\n+\n+class CachedClientTest extends TestCase\n+{\n+    /**\n+     * @var Client\n+     */\n+    private $transport;\n+\n+    /**\n+     * @var \\Jackalope\\Repository\n+     */\n+    private $repository;\n+\n+    /**\n+     * @var \\Jackalope\\Session\n+     */\n+    private $session;\n+\n+    public function setUp()\n+    {\n+        static $initialized = false;\n+        parent::setUp();\n+\n+        $conn = $this->getConnection();\n+        $options = array('disable_fks' => $conn->getDatabasePlatform() instanceof SqlitePlatform);\n+        $schema = new RepositorySchema($options, $conn);\n+        $tables = $schema->getTables();\n+\n+        foreach ($tables as $table) {\n+            $conn->exec('DELETE FROM ' . $table->getName());\n+        }\n+\n+        $this->transport = new \\Jackalope\\Transport\\DoctrineDBAL\\CachedClient(new \\Jackalope\\Factory(), $conn);\n+        $this->transport->createWorkspace('default');\n+\n+        $this->repository = new \\Jackalope\\Repository(null, $this->transport);","path":"tests/Jackalope/Transport/DoctrineDBAL/CachedClientTest.php","position":45,"original_position":45,"commit_id":"c974cd65c3b63e423477b92d11c5bf575b0408bb","original_commit_id":"c974cd65c3b63e423477b92d11c5bf575b0408bb","user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?v=3","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"body":"aparently not. i will do a bit of refactoring of the tests i think.","created_at":"2015-04-05T09:19:08Z","updated_at":"2015-04-05T09:19:08Z","html_url":"https://github.com/jackalope/jackalope-doctrine-dbal/pull/254#discussion_r27775971","pull_request_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254","_links":{"self":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/comments/27775971"},"html":{"href":"https://github.com/jackalope/jackalope-doctrine-dbal/pull/254#discussion_r27775971"},"pull_request":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254"}}},"pull_request":{"url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254","id":32402608,"html_url":"https://github.com/jackalope/jackalope-doctrine-dbal/pull/254","diff_url":"https://github.com/jackalope/jackalope-doctrine-dbal/pull/254.diff","patch_url":"https://github.com/jackalope/jackalope-doctrine-dbal/pull/254.patch","issue_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues/254","number":254,"state":"open","locked":false,"title":"Fix for The ArrayObject Bug in the CachedClient","user":{"login":"ARoddis","id":2421679,"avatar_url":"https://avatars.githubusercontent.com/u/2421679?v=3","gravatar_id":"","url":"https://api.github.com/users/ARoddis","html_url":"https://github.com/ARoddis","followers_url":"https://api.github.com/users/ARoddis/followers","following_url":"https://api.github.com/users/ARoddis/following{/other_user}","gists_url":"https://api.github.com/users/ARoddis/gists{/gist_id}","starred_url":"https://api.github.com/users/ARoddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARoddis/subscriptions","organizations_url":"https://api.github.com/users/ARoddis/orgs","repos_url":"https://api.github.com/users/ARoddis/repos","events_url":"https://api.github.com/users/ARoddis/events{/privacy}","received_events_url":"https://api.github.com/users/ARoddis/received_events","type":"User","site_admin":false},"body":"I had to change the visibility of the \"getNamespacesObject\" Method. I hope that is ok.\r\n\r\nfix #253","created_at":"2015-04-01T09:34:00Z","updated_at":"2015-04-05T09:19:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"385bf92910c2bc62e62cbc8506d6bb4034156bb7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254/commits","review_comments_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254/comments","review_comment_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues/254/comments","statuses_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/statuses/c974cd65c3b63e423477b92d11c5bf575b0408bb","head":{"label":"ARoddis:master","ref":"master","sha":"c974cd65c3b63e423477b92d11c5bf575b0408bb","user":{"login":"ARoddis","id":2421679,"avatar_url":"https://avatars.githubusercontent.com/u/2421679?v=3","gravatar_id":"","url":"https://api.github.com/users/ARoddis","html_url":"https://github.com/ARoddis","followers_url":"https://api.github.com/users/ARoddis/followers","following_url":"https://api.github.com/users/ARoddis/following{/other_user}","gists_url":"https://api.github.com/users/ARoddis/gists{/gist_id}","starred_url":"https://api.github.com/users/ARoddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARoddis/subscriptions","organizations_url":"https://api.github.com/users/ARoddis/orgs","repos_url":"https://api.github.com/users/ARoddis/repos","events_url":"https://api.github.com/users/ARoddis/events{/privacy}","received_events_url":"https://api.github.com/users/ARoddis/received_events","type":"User","site_admin":false},"repo":{"id":33238475,"name":"jackalope-doctrine-dbal","full_name":"ARoddis/jackalope-doctrine-dbal","owner":{"login":"ARoddis","id":2421679,"avatar_url":"https://avatars.githubusercontent.com/u/2421679?v=3","gravatar_id":"","url":"https://api.github.com/users/ARoddis","html_url":"https://github.com/ARoddis","followers_url":"https://api.github.com/users/ARoddis/followers","following_url":"https://api.github.com/users/ARoddis/following{/other_user}","gists_url":"https://api.github.com/users/ARoddis/gists{/gist_id}","starred_url":"https://api.github.com/users/ARoddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARoddis/subscriptions","organizations_url":"https://api.github.com/users/ARoddis/orgs","repos_url":"https://api.github.com/users/ARoddis/repos","events_url":"https://api.github.com/users/ARoddis/events{/privacy}","received_events_url":"https://api.github.com/users/ARoddis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ARoddis/jackalope-doctrine-dbal","description":"Doctrine DBAL transport implementation for Jackalope","fork":true,"url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal","forks_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/forks","keys_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/teams","hooks_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/hooks","issue_events_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/issues/events{/number}","events_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/events","assignees_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/assignees{/user}","branches_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/branches{/branch}","tags_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/tags","blobs_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/statuses/{sha}","languages_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/languages","stargazers_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/stargazers","contributors_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/contributors","subscribers_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/subscribers","subscription_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/subscription","commits_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/contents/{+path}","compare_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/merges","archive_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/downloads","issues_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/issues{/number}","pulls_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/pulls{/number}","milestones_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/milestones{/number}","notifications_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/labels{/name}","releases_url":"https://api.github.com/repos/ARoddis/jackalope-doctrine-dbal/releases{/id}","created_at":"2015-04-01T09:24:49Z","updated_at":"2015-04-01T09:30:32Z","pushed_at":"2015-04-01T09:30:32Z","git_url":"git://github.com/ARoddis/jackalope-doctrine-dbal.git","ssh_url":"git@github.com:ARoddis/jackalope-doctrine-dbal.git","clone_url":"https://github.com/ARoddis/jackalope-doctrine-dbal.git","svn_url":"https://github.com/ARoddis/jackalope-doctrine-dbal","homepage":"http://jackalope.github.io","size":11802,"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":"jackalope:master","ref":"master","sha":"4c5ae80f90766f99864e6dfcd5ad056a30d7424b","user":{"login":"jackalope","id":70245,"avatar_url":"https://avatars.githubusercontent.com/u/70245?v=3","gravatar_id":"","url":"https://api.github.com/users/jackalope","html_url":"https://github.com/jackalope","followers_url":"https://api.github.com/users/jackalope/followers","following_url":"https://api.github.com/users/jackalope/following{/other_user}","gists_url":"https://api.github.com/users/jackalope/gists{/gist_id}","starred_url":"https://api.github.com/users/jackalope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackalope/subscriptions","organizations_url":"https://api.github.com/users/jackalope/orgs","repos_url":"https://api.github.com/users/jackalope/repos","events_url":"https://api.github.com/users/jackalope/events{/privacy}","received_events_url":"https://api.github.com/users/jackalope/received_events","type":"Organization","site_admin":false},"repo":{"id":3470596,"name":"jackalope-doctrine-dbal","full_name":"jackalope/jackalope-doctrine-dbal","owner":{"login":"jackalope","id":70245,"avatar_url":"https://avatars.githubusercontent.com/u/70245?v=3","gravatar_id":"","url":"https://api.github.com/users/jackalope","html_url":"https://github.com/jackalope","followers_url":"https://api.github.com/users/jackalope/followers","following_url":"https://api.github.com/users/jackalope/following{/other_user}","gists_url":"https://api.github.com/users/jackalope/gists{/gist_id}","starred_url":"https://api.github.com/users/jackalope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackalope/subscriptions","organizations_url":"https://api.github.com/users/jackalope/orgs","repos_url":"https://api.github.com/users/jackalope/repos","events_url":"https://api.github.com/users/jackalope/events{/privacy}","received_events_url":"https://api.github.com/users/jackalope/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jackalope/jackalope-doctrine-dbal","description":"Doctrine DBAL transport implementation for Jackalope","fork":false,"url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal","forks_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/forks","keys_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/teams","hooks_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/hooks","issue_events_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues/events{/number}","events_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/events","assignees_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/assignees{/user}","branches_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/branches{/branch}","tags_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/tags","blobs_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/statuses/{sha}","languages_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/languages","stargazers_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/stargazers","contributors_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/contributors","subscribers_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/subscribers","subscription_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/subscription","commits_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/contents/{+path}","compare_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/merges","archive_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/downloads","issues_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues{/number}","pulls_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls{/number}","milestones_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/milestones{/number}","notifications_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/labels{/name}","releases_url":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/releases{/id}","created_at":"2012-02-17T14:35:21Z","updated_at":"2015-04-01T08:31:15Z","pushed_at":"2015-04-04T12:45:55Z","git_url":"git://github.com/jackalope/jackalope-doctrine-dbal.git","ssh_url":"git@github.com:jackalope/jackalope-doctrine-dbal.git","clone_url":"https://github.com/jackalope/jackalope-doctrine-dbal.git","svn_url":"https://github.com/jackalope/jackalope-doctrine-dbal","homepage":"http://jackalope.github.io","size":11802,"stargazers_count":59,"watchers_count":59,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":30,"forks":37,"open_issues":30,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254"},"html":{"href":"https://github.com/jackalope/jackalope-doctrine-dbal/pull/254"},"issue":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues/254"},"comments":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/jackalope/jackalope-doctrine-dbal/statuses/c974cd65c3b63e423477b92d11c5bf575b0408bb"}}}}