{"action":"created","comment":{"url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/comments/121410883","pull_request_review_id":43456850,"id":121410883,"diff_hunk":"@@ -44,14 +46,13 @@ public function findAddressByUserInfo($user)\n \n         $query = \"\n             SELECT *\n-            FROM ps_address a\n+            FROM \"._DB_PREFIX_.\"address a\n             WHERE\n               a.address1 = '$address1'\n               AND a.postcode = '$postcode'\n               AND a.city = '$city'\n         \";\n \n-        $query = str_replace('ps_', _DB_PREFIX_, $query);","path":"src/Repository/OrderRepository.php","position":null,"original_position":28,"commit_id":"b4f7f05d6e34924ac56cc9edcba5b7bfd77b5999","original_commit_id":"b4f7f05d6e34924ac56cc9edcba5b7bfd77b5999","user":{"login":"vschoener","id":1213200,"avatar_url":"https://avatars0.githubusercontent.com/u/1213200?v=3","gravatar_id":"","url":"https://api.github.com/users/vschoener","html_url":"https://github.com/vschoener","followers_url":"https://api.github.com/users/vschoener/followers","following_url":"https://api.github.com/users/vschoener/following{/other_user}","gists_url":"https://api.github.com/users/vschoener/gists{/gist_id}","starred_url":"https://api.github.com/users/vschoener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vschoener/subscriptions","organizations_url":"https://api.github.com/users/vschoener/orgs","repos_url":"https://api.github.com/users/vschoener/repos","events_url":"https://api.github.com/users/vschoener/events{/privacy}","received_events_url":"https://api.github.com/users/vschoener/received_events","type":"User","site_admin":false},"body":"Why you changed it ? it's so useful for an IDE to check if everything is ok","created_at":"2017-06-12T14:38:35Z","updated_at":"2017-06-12T14:40:11Z","html_url":"https://github.com/oystparis/oyst-prestashop/pull/145#discussion_r121410883","pull_request_url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/comments/121410883"},"html":{"href":"https://github.com/oystparis/oyst-prestashop/pull/145#discussion_r121410883"},"pull_request":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145","id":124359881,"html_url":"https://github.com/oystparis/oyst-prestashop/pull/145","diff_url":"https://github.com/oystparis/oyst-prestashop/pull/145.diff","patch_url":"https://github.com/oystparis/oyst-prestashop/pull/145.patch","issue_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/145","number":145,"state":"open","locked":false,"title":"Feat 1-click","user":{"login":"itkg-ndecraene","id":10598916,"avatar_url":"https://avatars0.githubusercontent.com/u/10598916?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-ndecraene","html_url":"https://github.com/itkg-ndecraene","followers_url":"https://api.github.com/users/itkg-ndecraene/followers","following_url":"https://api.github.com/users/itkg-ndecraene/following{/other_user}","gists_url":"https://api.github.com/users/itkg-ndecraene/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-ndecraene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-ndecraene/subscriptions","organizations_url":"https://api.github.com/users/itkg-ndecraene/orgs","repos_url":"https://api.github.com/users/itkg-ndecraene/repos","events_url":"https://api.github.com/users/itkg-ndecraene/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-ndecraene/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-07T08:13:12Z","updated_at":"2017-06-12T14:40:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c1c6f5f7b3b308f23e7c7c4256b9fdbf30cab54","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145/commits","review_comments_url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145/comments","review_comment_url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/145/comments","statuses_url":"https://api.github.com/repos/oystparis/oyst-prestashop/statuses/b4f7f05d6e34924ac56cc9edcba5b7bfd77b5999","head":{"label":"oystparis:feat-1-click","ref":"feat-1-click","sha":"b4f7f05d6e34924ac56cc9edcba5b7bfd77b5999","user":{"login":"oystparis","id":17929707,"avatar_url":"https://avatars2.githubusercontent.com/u/17929707?v=3","gravatar_id":"","url":"https://api.github.com/users/oystparis","html_url":"https://github.com/oystparis","followers_url":"https://api.github.com/users/oystparis/followers","following_url":"https://api.github.com/users/oystparis/following{/other_user}","gists_url":"https://api.github.com/users/oystparis/gists{/gist_id}","starred_url":"https://api.github.com/users/oystparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oystparis/subscriptions","organizations_url":"https://api.github.com/users/oystparis/orgs","repos_url":"https://api.github.com/users/oystparis/repos","events_url":"https://api.github.com/users/oystparis/events{/privacy}","received_events_url":"https://api.github.com/users/oystparis/received_events","type":"Organization","site_admin":false},"repo":{"id":73200073,"name":"oyst-prestashop","full_name":"oystparis/oyst-prestashop","owner":{"login":"oystparis","id":17929707,"avatar_url":"https://avatars2.githubusercontent.com/u/17929707?v=3","gravatar_id":"","url":"https://api.github.com/users/oystparis","html_url":"https://github.com/oystparis","followers_url":"https://api.github.com/users/oystparis/followers","following_url":"https://api.github.com/users/oystparis/following{/other_user}","gists_url":"https://api.github.com/users/oystparis/gists{/gist_id}","starred_url":"https://api.github.com/users/oystparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oystparis/subscriptions","organizations_url":"https://api.github.com/users/oystparis/orgs","repos_url":"https://api.github.com/users/oystparis/repos","events_url":"https://api.github.com/users/oystparis/events{/privacy}","received_events_url":"https://api.github.com/users/oystparis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oystparis/oyst-prestashop","description":null,"fork":false,"url":"https://api.github.com/repos/oystparis/oyst-prestashop","forks_url":"https://api.github.com/repos/oystparis/oyst-prestashop/forks","keys_url":"https://api.github.com/repos/oystparis/oyst-prestashop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oystparis/oyst-prestashop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oystparis/oyst-prestashop/teams","hooks_url":"https://api.github.com/repos/oystparis/oyst-prestashop/hooks","issue_events_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/events{/number}","events_url":"https://api.github.com/repos/oystparis/oyst-prestashop/events","assignees_url":"https://api.github.com/repos/oystparis/oyst-prestashop/assignees{/user}","branches_url":"https://api.github.com/repos/oystparis/oyst-prestashop/branches{/branch}","tags_url":"https://api.github.com/repos/oystparis/oyst-prestashop/tags","blobs_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/refs{/sha}","trees_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oystparis/oyst-prestashop/statuses/{sha}","languages_url":"https://api.github.com/repos/oystparis/oyst-prestashop/languages","stargazers_url":"https://api.github.com/repos/oystparis/oyst-prestashop/stargazers","contributors_url":"https://api.github.com/repos/oystparis/oyst-prestashop/contributors","subscribers_url":"https://api.github.com/repos/oystparis/oyst-prestashop/subscribers","subscription_url":"https://api.github.com/repos/oystparis/oyst-prestashop/subscription","commits_url":"https://api.github.com/repos/oystparis/oyst-prestashop/commits{/sha}","git_commits_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/commits{/sha}","comments_url":"https://api.github.com/repos/oystparis/oyst-prestashop/comments{/number}","issue_comment_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/comments{/number}","contents_url":"https://api.github.com/repos/oystparis/oyst-prestashop/contents/{+path}","compare_url":"https://api.github.com/repos/oystparis/oyst-prestashop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oystparis/oyst-prestashop/merges","archive_url":"https://api.github.com/repos/oystparis/oyst-prestashop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oystparis/oyst-prestashop/downloads","issues_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues{/number}","pulls_url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls{/number}","milestones_url":"https://api.github.com/repos/oystparis/oyst-prestashop/milestones{/number}","notifications_url":"https://api.github.com/repos/oystparis/oyst-prestashop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oystparis/oyst-prestashop/labels{/name}","releases_url":"https://api.github.com/repos/oystparis/oyst-prestashop/releases{/id}","deployments_url":"https://api.github.com/repos/oystparis/oyst-prestashop/deployments","created_at":"2016-11-08T15:32:59Z","updated_at":"2017-01-12T09:59:44Z","pushed_at":"2017-06-12T14:34:36Z","git_url":"git://github.com/oystparis/oyst-prestashop.git","ssh_url":"git@github.com:oystparis/oyst-prestashop.git","clone_url":"https://github.com/oystparis/oyst-prestashop.git","svn_url":"https://github.com/oystparis/oyst-prestashop","homepage":null,"size":530,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"oystparis:master","ref":"master","sha":"e76b7c2f9ef86cd29bcb81ec87919986d1c0b782","user":{"login":"oystparis","id":17929707,"avatar_url":"https://avatars2.githubusercontent.com/u/17929707?v=3","gravatar_id":"","url":"https://api.github.com/users/oystparis","html_url":"https://github.com/oystparis","followers_url":"https://api.github.com/users/oystparis/followers","following_url":"https://api.github.com/users/oystparis/following{/other_user}","gists_url":"https://api.github.com/users/oystparis/gists{/gist_id}","starred_url":"https://api.github.com/users/oystparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oystparis/subscriptions","organizations_url":"https://api.github.com/users/oystparis/orgs","repos_url":"https://api.github.com/users/oystparis/repos","events_url":"https://api.github.com/users/oystparis/events{/privacy}","received_events_url":"https://api.github.com/users/oystparis/received_events","type":"Organization","site_admin":false},"repo":{"id":73200073,"name":"oyst-prestashop","full_name":"oystparis/oyst-prestashop","owner":{"login":"oystparis","id":17929707,"avatar_url":"https://avatars2.githubusercontent.com/u/17929707?v=3","gravatar_id":"","url":"https://api.github.com/users/oystparis","html_url":"https://github.com/oystparis","followers_url":"https://api.github.com/users/oystparis/followers","following_url":"https://api.github.com/users/oystparis/following{/other_user}","gists_url":"https://api.github.com/users/oystparis/gists{/gist_id}","starred_url":"https://api.github.com/users/oystparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oystparis/subscriptions","organizations_url":"https://api.github.com/users/oystparis/orgs","repos_url":"https://api.github.com/users/oystparis/repos","events_url":"https://api.github.com/users/oystparis/events{/privacy}","received_events_url":"https://api.github.com/users/oystparis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oystparis/oyst-prestashop","description":null,"fork":false,"url":"https://api.github.com/repos/oystparis/oyst-prestashop","forks_url":"https://api.github.com/repos/oystparis/oyst-prestashop/forks","keys_url":"https://api.github.com/repos/oystparis/oyst-prestashop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oystparis/oyst-prestashop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oystparis/oyst-prestashop/teams","hooks_url":"https://api.github.com/repos/oystparis/oyst-prestashop/hooks","issue_events_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/events{/number}","events_url":"https://api.github.com/repos/oystparis/oyst-prestashop/events","assignees_url":"https://api.github.com/repos/oystparis/oyst-prestashop/assignees{/user}","branches_url":"https://api.github.com/repos/oystparis/oyst-prestashop/branches{/branch}","tags_url":"https://api.github.com/repos/oystparis/oyst-prestashop/tags","blobs_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/refs{/sha}","trees_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oystparis/oyst-prestashop/statuses/{sha}","languages_url":"https://api.github.com/repos/oystparis/oyst-prestashop/languages","stargazers_url":"https://api.github.com/repos/oystparis/oyst-prestashop/stargazers","contributors_url":"https://api.github.com/repos/oystparis/oyst-prestashop/contributors","subscribers_url":"https://api.github.com/repos/oystparis/oyst-prestashop/subscribers","subscription_url":"https://api.github.com/repos/oystparis/oyst-prestashop/subscription","commits_url":"https://api.github.com/repos/oystparis/oyst-prestashop/commits{/sha}","git_commits_url":"https://api.github.com/repos/oystparis/oyst-prestashop/git/commits{/sha}","comments_url":"https://api.github.com/repos/oystparis/oyst-prestashop/comments{/number}","issue_comment_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/comments{/number}","contents_url":"https://api.github.com/repos/oystparis/oyst-prestashop/contents/{+path}","compare_url":"https://api.github.com/repos/oystparis/oyst-prestashop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oystparis/oyst-prestashop/merges","archive_url":"https://api.github.com/repos/oystparis/oyst-prestashop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oystparis/oyst-prestashop/downloads","issues_url":"https://api.github.com/repos/oystparis/oyst-prestashop/issues{/number}","pulls_url":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls{/number}","milestones_url":"https://api.github.com/repos/oystparis/oyst-prestashop/milestones{/number}","notifications_url":"https://api.github.com/repos/oystparis/oyst-prestashop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oystparis/oyst-prestashop/labels{/name}","releases_url":"https://api.github.com/repos/oystparis/oyst-prestashop/releases{/id}","deployments_url":"https://api.github.com/repos/oystparis/oyst-prestashop/deployments","created_at":"2016-11-08T15:32:59Z","updated_at":"2017-01-12T09:59:44Z","pushed_at":"2017-06-12T14:34:36Z","git_url":"git://github.com/oystparis/oyst-prestashop.git","ssh_url":"git@github.com:oystparis/oyst-prestashop.git","clone_url":"https://github.com/oystparis/oyst-prestashop.git","svn_url":"https://github.com/oystparis/oyst-prestashop","homepage":null,"size":530,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145"},"html":{"href":"https://github.com/oystparis/oyst-prestashop/pull/145"},"issue":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/145"},"comments":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/oystparis/oyst-prestashop/statuses/b4f7f05d6e34924ac56cc9edcba5b7bfd77b5999"}}}}
{"actor":{"display_login":"vschoener"}}