{"action":"created","comment":{"url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/comments/326142679","pull_request_review_id":290524076,"id":326142679,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyNjE0MjY3OQ==","diff_hunk":"@@ -492,11 +492,11 @@ public function getWidgetVariables($hookName = null, array $configuration = [])\n      */\n     private function shouldWeDisplayOnBlockProduct($enableCheckout, $enableProduct, $controller)\n     {\n-        if ($enableProduct === '1' && $controller === 'product') {\n+        if ($enableProduct === self::POSITION_BELOW_HEADER && $controller === 'product') {\n             return true;\n         }\n \n-        if ($enableCheckout === '1' && $controller === 'cart') {\n+        if ($enableCheckout === self::POSITION_BELOW_HEADER && ($controller === 'cart' || $controller === 'order')) {","path":"blockreassurance.php","position":45,"original_position":45,"commit_id":"6da1bf712c1361e7ccad16fc56568226d3ea3f53","original_commit_id":"6da1bf712c1361e7ccad16fc56568226d3ea3f53","user":{"login":"PierreRambaud","id":1462701,"node_id":"MDQ6VXNlcjE0NjI3MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1462701?v=4","gravatar_id":"","url":"https://api.github.com/users/PierreRambaud","html_url":"https://github.com/PierreRambaud","followers_url":"https://api.github.com/users/PierreRambaud/followers","following_url":"https://api.github.com/users/PierreRambaud/following{/other_user}","gists_url":"https://api.github.com/users/PierreRambaud/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreRambaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreRambaud/subscriptions","organizations_url":"https://api.github.com/users/PierreRambaud/orgs","repos_url":"https://api.github.com/users/PierreRambaud/repos","events_url":"https://api.github.com/users/PierreRambaud/events{/privacy}","received_events_url":"https://api.github.com/users/PierreRambaud/received_events","type":"User","site_admin":false},"body":"compute both conditions\r\n```suggestion\r\n        if ($enableCheckout === self::POSITION_BELOW_HEADER && in_array($controller, self::ALLOWED_CONTROLLERS)) {\r\n```","created_at":"2019-09-19T12:21:39Z","updated_at":"2019-09-19T12:21:39Z","html_url":"https://github.com/PrestaShop/blockreassurance/pull/27#discussion_r326142679","pull_request_url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/comments/326142679"},"html":{"href":"https://github.com/PrestaShop/blockreassurance/pull/27#discussion_r326142679"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27","id":319243339,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5MjQzMzM5","html_url":"https://github.com/PrestaShop/blockreassurance/pull/27","diff_url":"https://github.com/PrestaShop/blockreassurance/pull/27.diff","patch_url":"https://github.com/PrestaShop/blockreassurance/pull/27.patch","issue_url":"https://api.github.com/repos/PrestaShop/blockreassurance/issues/27","number":27,"state":"open","locked":false,"title":"Fix feedback (Add block, design, responsive)","user":{"login":"Progi1984","id":1533248,"node_id":"MDQ6VXNlcjE1MzMyNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1533248?v=4","gravatar_id":"","url":"https://api.github.com/users/Progi1984","html_url":"https://github.com/Progi1984","followers_url":"https://api.github.com/users/Progi1984/followers","following_url":"https://api.github.com/users/Progi1984/following{/other_user}","gists_url":"https://api.github.com/users/Progi1984/gists{/gist_id}","starred_url":"https://api.github.com/users/Progi1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Progi1984/subscriptions","organizations_url":"https://api.github.com/users/Progi1984/orgs","repos_url":"https://api.github.com/users/Progi1984/repos","events_url":"https://api.github.com/users/Progi1984/events{/privacy}","received_events_url":"https://api.github.com/users/Progi1984/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-09-19T12:08:53Z","updated_at":"2019-09-19T12:21:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a76592b673b544f2c1260448e4b60d08ffbef84e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27/commits","review_comments_url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27/comments","review_comment_url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrestaShop/blockreassurance/issues/27/comments","statuses_url":"https://api.github.com/repos/PrestaShop/blockreassurance/statuses/6da1bf712c1361e7ccad16fc56568226d3ea3f53","head":{"label":"Progi1984:fixBO","ref":"fixBO","sha":"6da1bf712c1361e7ccad16fc56568226d3ea3f53","user":{"login":"Progi1984","id":1533248,"node_id":"MDQ6VXNlcjE1MzMyNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1533248?v=4","gravatar_id":"","url":"https://api.github.com/users/Progi1984","html_url":"https://github.com/Progi1984","followers_url":"https://api.github.com/users/Progi1984/followers","following_url":"https://api.github.com/users/Progi1984/following{/other_user}","gists_url":"https://api.github.com/users/Progi1984/gists{/gist_id}","starred_url":"https://api.github.com/users/Progi1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Progi1984/subscriptions","organizations_url":"https://api.github.com/users/Progi1984/orgs","repos_url":"https://api.github.com/users/Progi1984/repos","events_url":"https://api.github.com/users/Progi1984/events{/privacy}","received_events_url":"https://api.github.com/users/Progi1984/received_events","type":"User","site_admin":false},"repo":{"id":195214090,"node_id":"MDEwOlJlcG9zaXRvcnkxOTUyMTQwOTA=","name":"blockreassurance","full_name":"Progi1984/blockreassurance","private":false,"owner":{"login":"Progi1984","id":1533248,"node_id":"MDQ6VXNlcjE1MzMyNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1533248?v=4","gravatar_id":"","url":"https://api.github.com/users/Progi1984","html_url":"https://github.com/Progi1984","followers_url":"https://api.github.com/users/Progi1984/followers","following_url":"https://api.github.com/users/Progi1984/following{/other_user}","gists_url":"https://api.github.com/users/Progi1984/gists{/gist_id}","starred_url":"https://api.github.com/users/Progi1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Progi1984/subscriptions","organizations_url":"https://api.github.com/users/Progi1984/orgs","repos_url":"https://api.github.com/users/Progi1984/repos","events_url":"https://api.github.com/users/Progi1984/events{/privacy}","received_events_url":"https://api.github.com/users/Progi1984/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Progi1984/blockreassurance","description":null,"fork":true,"url":"https://api.github.com/repos/Progi1984/blockreassurance","forks_url":"https://api.github.com/repos/Progi1984/blockreassurance/forks","keys_url":"https://api.github.com/repos/Progi1984/blockreassurance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Progi1984/blockreassurance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Progi1984/blockreassurance/teams","hooks_url":"https://api.github.com/repos/Progi1984/blockreassurance/hooks","issue_events_url":"https://api.github.com/repos/Progi1984/blockreassurance/issues/events{/number}","events_url":"https://api.github.com/repos/Progi1984/blockreassurance/events","assignees_url":"https://api.github.com/repos/Progi1984/blockreassurance/assignees{/user}","branches_url":"https://api.github.com/repos/Progi1984/blockreassurance/branches{/branch}","tags_url":"https://api.github.com/repos/Progi1984/blockreassurance/tags","blobs_url":"https://api.github.com/repos/Progi1984/blockreassurance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Progi1984/blockreassurance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Progi1984/blockreassurance/git/refs{/sha}","trees_url":"https://api.github.com/repos/Progi1984/blockreassurance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Progi1984/blockreassurance/statuses/{sha}","languages_url":"https://api.github.com/repos/Progi1984/blockreassurance/languages","stargazers_url":"https://api.github.com/repos/Progi1984/blockreassurance/stargazers","contributors_url":"https://api.github.com/repos/Progi1984/blockreassurance/contributors","subscribers_url":"https://api.github.com/repos/Progi1984/blockreassurance/subscribers","subscription_url":"https://api.github.com/repos/Progi1984/blockreassurance/subscription","commits_url":"https://api.github.com/repos/Progi1984/blockreassurance/commits{/sha}","git_commits_url":"https://api.github.com/repos/Progi1984/blockreassurance/git/commits{/sha}","comments_url":"https://api.github.com/repos/Progi1984/blockreassurance/comments{/number}","issue_comment_url":"https://api.github.com/repos/Progi1984/blockreassurance/issues/comments{/number}","contents_url":"https://api.github.com/repos/Progi1984/blockreassurance/contents/{+path}","compare_url":"https://api.github.com/repos/Progi1984/blockreassurance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Progi1984/blockreassurance/merges","archive_url":"https://api.github.com/repos/Progi1984/blockreassurance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Progi1984/blockreassurance/downloads","issues_url":"https://api.github.com/repos/Progi1984/blockreassurance/issues{/number}","pulls_url":"https://api.github.com/repos/Progi1984/blockreassurance/pulls{/number}","milestones_url":"https://api.github.com/repos/Progi1984/blockreassurance/milestones{/number}","notifications_url":"https://api.github.com/repos/Progi1984/blockreassurance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Progi1984/blockreassurance/labels{/name}","releases_url":"https://api.github.com/repos/Progi1984/blockreassurance/releases{/id}","deployments_url":"https://api.github.com/repos/Progi1984/blockreassurance/deployments","created_at":"2019-07-04T09:43:20Z","updated_at":"2019-07-10T08:15:10Z","pushed_at":"2019-09-19T11:55:16Z","git_url":"git://github.com/Progi1984/blockreassurance.git","ssh_url":"git@github.com:Progi1984/blockreassurance.git","clone_url":"https://github.com/Progi1984/blockreassurance.git","svn_url":"https://github.com/Progi1984/blockreassurance","homepage":null,"size":550,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PrestaShop:dev","ref":"dev","sha":"a5def2455b0644e2834656b2ec3215ea9b23cb95","user":{"login":"PrestaShop","id":2815696,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTU2OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/2815696?v=4","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"repo":{"id":51008342,"node_id":"MDEwOlJlcG9zaXRvcnk1MTAwODM0Mg==","name":"blockreassurance","full_name":"PrestaShop/blockreassurance","private":false,"owner":{"login":"PrestaShop","id":2815696,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTU2OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/2815696?v=4","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PrestaShop/blockreassurance","description":"Adds an information block aimed at offering helpful information to reassure customers that your store is trustworthy.","fork":false,"url":"https://api.github.com/repos/PrestaShop/blockreassurance","forks_url":"https://api.github.com/repos/PrestaShop/blockreassurance/forks","keys_url":"https://api.github.com/repos/PrestaShop/blockreassurance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrestaShop/blockreassurance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrestaShop/blockreassurance/teams","hooks_url":"https://api.github.com/repos/PrestaShop/blockreassurance/hooks","issue_events_url":"https://api.github.com/repos/PrestaShop/blockreassurance/issues/events{/number}","events_url":"https://api.github.com/repos/PrestaShop/blockreassurance/events","assignees_url":"https://api.github.com/repos/PrestaShop/blockreassurance/assignees{/user}","branches_url":"https://api.github.com/repos/PrestaShop/blockreassurance/branches{/branch}","tags_url":"https://api.github.com/repos/PrestaShop/blockreassurance/tags","blobs_url":"https://api.github.com/repos/PrestaShop/blockreassurance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrestaShop/blockreassurance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrestaShop/blockreassurance/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrestaShop/blockreassurance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrestaShop/blockreassurance/statuses/{sha}","languages_url":"https://api.github.com/repos/PrestaShop/blockreassurance/languages","stargazers_url":"https://api.github.com/repos/PrestaShop/blockreassurance/stargazers","contributors_url":"https://api.github.com/repos/PrestaShop/blockreassurance/contributors","subscribers_url":"https://api.github.com/repos/PrestaShop/blockreassurance/subscribers","subscription_url":"https://api.github.com/repos/PrestaShop/blockreassurance/subscription","commits_url":"https://api.github.com/repos/PrestaShop/blockreassurance/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrestaShop/blockreassurance/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrestaShop/blockreassurance/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrestaShop/blockreassurance/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrestaShop/blockreassurance/contents/{+path}","compare_url":"https://api.github.com/repos/PrestaShop/blockreassurance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrestaShop/blockreassurance/merges","archive_url":"https://api.github.com/repos/PrestaShop/blockreassurance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrestaShop/blockreassurance/downloads","issues_url":"https://api.github.com/repos/PrestaShop/blockreassurance/issues{/number}","pulls_url":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls{/number}","milestones_url":"https://api.github.com/repos/PrestaShop/blockreassurance/milestones{/number}","notifications_url":"https://api.github.com/repos/PrestaShop/blockreassurance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrestaShop/blockreassurance/labels{/name}","releases_url":"https://api.github.com/repos/PrestaShop/blockreassurance/releases{/id}","deployments_url":"https://api.github.com/repos/PrestaShop/blockreassurance/deployments","created_at":"2016-02-03T15:19:54Z","updated_at":"2019-09-12T16:35:06Z","pushed_at":"2019-09-19T12:08:54Z","git_url":"git://github.com/PrestaShop/blockreassurance.git","ssh_url":"git@github.com:PrestaShop/blockreassurance.git","clone_url":"https://github.com/PrestaShop/blockreassurance.git","svn_url":"https://github.com/PrestaShop/blockreassurance","homepage":"","size":518,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":null,"forks":11,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27"},"html":{"href":"https://github.com/PrestaShop/blockreassurance/pull/27"},"issue":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/issues/27"},"comments":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/PrestaShop/blockreassurance/statuses/6da1bf712c1361e7ccad16fc56568226d3ea3f53"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"PierreRambaud"}}