{"action":"created","comment":{"url":"https://api.github.com/repos/doctrine/migrations/pulls/comments/51693711","id":51693711,"diff_hunk":"@@ -153,17 +155,17 @@ private function mark($version, $all = false)\n \n         $version = $this->configuration->getVersion($version);\n         if ($this->markMigrated && $this->configuration->hasVersionMigrated($version)) {\n-            $marked = true;\n             if (! $all) {\n                 throw new \\InvalidArgumentException(sprintf('The version \"%s\" already exists in the version table.', $version));\n             }\n+            $marked = true;\n         }\n \n         if ( ! $this->markMigrated && ! $this->configuration->hasVersionMigrated($version)) {\n-            $marked = false;\n             if (! $all) {\n                 throw new \\InvalidArgumentException(sprintf('The version \"%s\" does not exists in the version table.', $version));\n             }\n+            $marked = false;","path":"lib/Doctrine/DBAL/Migrations/Tools/Console/Command/VersionCommand.php","position":27,"original_position":27,"commit_id":"8c3253b3f54f1e784e1ce0e592e5c1fe2808a3e0","original_commit_id":"8c3253b3f54f1e784e1ce0e592e5c1fe2808a3e0","user":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"body":"better","created_at":"2016-02-03T08:59:13Z","updated_at":"2016-02-03T08:59:13Z","html_url":"https://github.com/doctrine/migrations/pull/426#discussion_r51693711","pull_request_url":"https://api.github.com/repos/doctrine/migrations/pulls/426","_links":{"self":{"href":"https://api.github.com/repos/doctrine/migrations/pulls/comments/51693711"},"html":{"href":"https://github.com/doctrine/migrations/pull/426#discussion_r51693711"},"pull_request":{"href":"https://api.github.com/repos/doctrine/migrations/pulls/426"}}},"pull_request":{"url":"https://api.github.com/repos/doctrine/migrations/pulls/426","id":57997536,"html_url":"https://github.com/doctrine/migrations/pull/426","diff_url":"https://github.com/doctrine/migrations/pull/426.diff","patch_url":"https://github.com/doctrine/migrations/pull/426.patch","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/426","number":426,"state":"open","locked":false,"title":"clear code","user":{"login":"ReenExe","id":10358615,"avatar_url":"https://avatars.githubusercontent.com/u/10358615?v=3","gravatar_id":"","url":"https://api.github.com/users/ReenExe","html_url":"https://github.com/ReenExe","followers_url":"https://api.github.com/users/ReenExe/followers","following_url":"https://api.github.com/users/ReenExe/following{/other_user}","gists_url":"https://api.github.com/users/ReenExe/gists{/gist_id}","starred_url":"https://api.github.com/users/ReenExe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReenExe/subscriptions","organizations_url":"https://api.github.com/users/ReenExe/orgs","repos_url":"https://api.github.com/users/ReenExe/repos","events_url":"https://api.github.com/users/ReenExe/events{/privacy}","received_events_url":"https://api.github.com/users/ReenExe/received_events","type":"User","site_admin":false},"body":"use this Bundle and some time read code","created_at":"2016-02-02T14:56:36Z","updated_at":"2016-02-03T08:59:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c18b1db07e8efce41f76d4dec4461c57dd79bdea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/migrations/pulls/426/commits","review_comments_url":"https://api.github.com/repos/doctrine/migrations/pulls/426/comments","review_comment_url":"https://api.github.com/repos/doctrine/migrations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/426/comments","statuses_url":"https://api.github.com/repos/doctrine/migrations/statuses/8c3253b3f54f1e784e1ce0e592e5c1fe2808a3e0","head":{"label":"ReenExeContributor:master","ref":"master","sha":"8c3253b3f54f1e784e1ce0e592e5c1fe2808a3e0","user":{"login":"ReenExeContributor","id":16170932,"avatar_url":"https://avatars.githubusercontent.com/u/16170932?v=3","gravatar_id":"","url":"https://api.github.com/users/ReenExeContributor","html_url":"https://github.com/ReenExeContributor","followers_url":"https://api.github.com/users/ReenExeContributor/followers","following_url":"https://api.github.com/users/ReenExeContributor/following{/other_user}","gists_url":"https://api.github.com/users/ReenExeContributor/gists{/gist_id}","starred_url":"https://api.github.com/users/ReenExeContributor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReenExeContributor/subscriptions","organizations_url":"https://api.github.com/users/ReenExeContributor/orgs","repos_url":"https://api.github.com/users/ReenExeContributor/repos","events_url":"https://api.github.com/users/ReenExeContributor/events{/privacy}","received_events_url":"https://api.github.com/users/ReenExeContributor/received_events","type":"Organization","site_admin":false},"repo":{"id":50925857,"name":"migrations","full_name":"ReenExeContributor/migrations","owner":{"login":"ReenExeContributor","id":16170932,"avatar_url":"https://avatars.githubusercontent.com/u/16170932?v=3","gravatar_id":"","url":"https://api.github.com/users/ReenExeContributor","html_url":"https://github.com/ReenExeContributor","followers_url":"https://api.github.com/users/ReenExeContributor/followers","following_url":"https://api.github.com/users/ReenExeContributor/following{/other_user}","gists_url":"https://api.github.com/users/ReenExeContributor/gists{/gist_id}","starred_url":"https://api.github.com/users/ReenExeContributor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReenExeContributor/subscriptions","organizations_url":"https://api.github.com/users/ReenExeContributor/orgs","repos_url":"https://api.github.com/users/ReenExeContributor/repos","events_url":"https://api.github.com/users/ReenExeContributor/events{/privacy}","received_events_url":"https://api.github.com/users/ReenExeContributor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReenExeContributor/migrations","description":"Doctrine Database Migrations Library","fork":true,"url":"https://api.github.com/repos/ReenExeContributor/migrations","forks_url":"https://api.github.com/repos/ReenExeContributor/migrations/forks","keys_url":"https://api.github.com/repos/ReenExeContributor/migrations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReenExeContributor/migrations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReenExeContributor/migrations/teams","hooks_url":"https://api.github.com/repos/ReenExeContributor/migrations/hooks","issue_events_url":"https://api.github.com/repos/ReenExeContributor/migrations/issues/events{/number}","events_url":"https://api.github.com/repos/ReenExeContributor/migrations/events","assignees_url":"https://api.github.com/repos/ReenExeContributor/migrations/assignees{/user}","branches_url":"https://api.github.com/repos/ReenExeContributor/migrations/branches{/branch}","tags_url":"https://api.github.com/repos/ReenExeContributor/migrations/tags","blobs_url":"https://api.github.com/repos/ReenExeContributor/migrations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReenExeContributor/migrations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReenExeContributor/migrations/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReenExeContributor/migrations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReenExeContributor/migrations/statuses/{sha}","languages_url":"https://api.github.com/repos/ReenExeContributor/migrations/languages","stargazers_url":"https://api.github.com/repos/ReenExeContributor/migrations/stargazers","contributors_url":"https://api.github.com/repos/ReenExeContributor/migrations/contributors","subscribers_url":"https://api.github.com/repos/ReenExeContributor/migrations/subscribers","subscription_url":"https://api.github.com/repos/ReenExeContributor/migrations/subscription","commits_url":"https://api.github.com/repos/ReenExeContributor/migrations/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReenExeContributor/migrations/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReenExeContributor/migrations/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReenExeContributor/migrations/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReenExeContributor/migrations/contents/{+path}","compare_url":"https://api.github.com/repos/ReenExeContributor/migrations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReenExeContributor/migrations/merges","archive_url":"https://api.github.com/repos/ReenExeContributor/migrations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReenExeContributor/migrations/downloads","issues_url":"https://api.github.com/repos/ReenExeContributor/migrations/issues{/number}","pulls_url":"https://api.github.com/repos/ReenExeContributor/migrations/pulls{/number}","milestones_url":"https://api.github.com/repos/ReenExeContributor/migrations/milestones{/number}","notifications_url":"https://api.github.com/repos/ReenExeContributor/migrations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReenExeContributor/migrations/labels{/name}","releases_url":"https://api.github.com/repos/ReenExeContributor/migrations/releases{/id}","deployments_url":"https://api.github.com/repos/ReenExeContributor/migrations/deployments","created_at":"2016-02-02T14:26:02Z","updated_at":"2016-02-02T14:26:03Z","pushed_at":"2016-02-02T14:55:40Z","git_url":"git://github.com/ReenExeContributor/migrations.git","ssh_url":"git@github.com:ReenExeContributor/migrations.git","clone_url":"https://github.com/ReenExeContributor/migrations.git","svn_url":"https://github.com/ReenExeContributor/migrations","homepage":"http://www.doctrine-project.org/projects/migrations.html","size":977,"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":"doctrine:master","ref":"master","sha":"360ad927e2593deca126379a330704605ad0eeac","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":576099,"name":"migrations","full_name":"doctrine/migrations","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/migrations","description":"Doctrine Database Migrations Library","fork":false,"url":"https://api.github.com/repos/doctrine/migrations","forks_url":"https://api.github.com/repos/doctrine/migrations/forks","keys_url":"https://api.github.com/repos/doctrine/migrations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/migrations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/migrations/teams","hooks_url":"https://api.github.com/repos/doctrine/migrations/hooks","issue_events_url":"https://api.github.com/repos/doctrine/migrations/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/migrations/events","assignees_url":"https://api.github.com/repos/doctrine/migrations/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/migrations/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/migrations/tags","blobs_url":"https://api.github.com/repos/doctrine/migrations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/migrations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/migrations/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/migrations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/migrations/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/migrations/languages","stargazers_url":"https://api.github.com/repos/doctrine/migrations/stargazers","contributors_url":"https://api.github.com/repos/doctrine/migrations/contributors","subscribers_url":"https://api.github.com/repos/doctrine/migrations/subscribers","subscription_url":"https://api.github.com/repos/doctrine/migrations/subscription","commits_url":"https://api.github.com/repos/doctrine/migrations/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/migrations/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/migrations/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/migrations/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/migrations/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/migrations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/migrations/merges","archive_url":"https://api.github.com/repos/doctrine/migrations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/migrations/downloads","issues_url":"https://api.github.com/repos/doctrine/migrations/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/migrations/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/migrations/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/migrations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/migrations/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/migrations/releases{/id}","deployments_url":"https://api.github.com/repos/doctrine/migrations/deployments","created_at":"2010-03-23T18:08:24Z","updated_at":"2016-02-02T14:00:40Z","pushed_at":"2016-02-02T14:56:36Z","git_url":"git://github.com/doctrine/migrations.git","ssh_url":"git@github.com:doctrine/migrations.git","clone_url":"https://github.com/doctrine/migrations.git","svn_url":"https://github.com/doctrine/migrations","homepage":"http://www.doctrine-project.org/projects/migrations.html","size":1505,"stargazers_count":346,"watchers_count":346,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":200,"mirror_url":null,"open_issues_count":20,"forks":200,"open_issues":20,"watchers":346,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/migrations/pulls/426"},"html":{"href":"https://github.com/doctrine/migrations/pull/426"},"issue":{"href":"https://api.github.com/repos/doctrine/migrations/issues/426"},"comments":{"href":"https://api.github.com/repos/doctrine/migrations/issues/426/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/migrations/pulls/426/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/migrations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/migrations/pulls/426/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/migrations/statuses/8c3253b3f54f1e784e1ce0e592e5c1fe2808a3e0"}}}}