{"action":"created","comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/239065780","pull_request_review_id":181757019,"id":239065780,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTA2NTc4MA==","diff_hunk":"@@ -466,6 +467,11 @@ public function getFlags()\n             );\n         }\n \n+        Hook::exec('productFlagsModifier', array(","path":"src/Adapter/Presenter/Product/ProductLazyArray.php","position":12,"original_position":12,"commit_id":"5887d7d9beb871d01186816c3209355a12ec784f","original_commit_id":"5887d7d9beb871d01186816c3209355a12ec784f","user":{"login":"mickaelandrieu","id":1247388,"node_id":"MDQ6VXNlcjEyNDczODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1247388?v=4","gravatar_id":"","url":"https://api.github.com/users/mickaelandrieu","html_url":"https://github.com/mickaelandrieu","followers_url":"https://api.github.com/users/mickaelandrieu/followers","following_url":"https://api.github.com/users/mickaelandrieu/following{/other_user}","gists_url":"https://api.github.com/users/mickaelandrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelandrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelandrieu/subscriptions","organizations_url":"https://api.github.com/users/mickaelandrieu/orgs","repos_url":"https://api.github.com/users/mickaelandrieu/repos","events_url":"https://api.github.com/users/mickaelandrieu/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelandrieu/received_events","type":"User","site_admin":false},"body":"is the name of the hook consistent with the others?","created_at":"2018-12-05T13:37:03Z","updated_at":"2018-12-05T13:37:13Z","html_url":"https://github.com/PrestaShop/PrestaShop/pull/11614#discussion_r239065780","pull_request_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/239065780"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/11614#discussion_r239065780"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614"}}},"pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614","id":236012559,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MDEyNTU5","html_url":"https://github.com/PrestaShop/PrestaShop/pull/11614","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/11614.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/11614.patch","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11614","number":11614,"state":"open","locked":false,"title":"Custom product flags using module","user":{"login":"kpodemski","id":2137763,"node_id":"MDQ6VXNlcjIxMzc3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2137763?v=4","gravatar_id":"","url":"https://api.github.com/users/kpodemski","html_url":"https://github.com/kpodemski","followers_url":"https://api.github.com/users/kpodemski/followers","following_url":"https://api.github.com/users/kpodemski/following{/other_user}","gists_url":"https://api.github.com/users/kpodemski/gists{/gist_id}","starred_url":"https://api.github.com/users/kpodemski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpodemski/subscriptions","organizations_url":"https://api.github.com/users/kpodemski/orgs","repos_url":"https://api.github.com/users/kpodemski/repos","events_url":"https://api.github.com/users/kpodemski/events{/privacy}","received_events_url":"https://api.github.com/users/kpodemski/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for contributing to the PrestaShop project! \r\n\r\nPlease take the time to edit the \"Answers\" rows with the necessary information.\r\n\r\nCheck out our contribution guidelines to find out how to complete it:\r\nhttps://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/#pull-requests\r\n -->\r\n\r\n| Questions     | Answers\r\n| ------------- | -------------------------------------------------------\r\n| Branch?       | develop\r\n| Description?  | title says it all\r\n| Type?         | improvement\r\n| Category?     | FO\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed ticket? | n/a\r\n| How to test?  | install this example module: https://www.dropbox.com/s/l0st1g41aerrt4c/kpflagsmodifier.zip?dl=0\r\n<!-- Click the form's \"Preview\" button to make sure the table is functional in GitHub. Thank you! -->\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/prestashop/prestashop/11614)\n<!-- Reviewable:end -->\n","created_at":"2018-12-05T01:03:40Z","updated_at":"2018-12-05T13:37:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64c22460cae551909ada83a2257be49881acfce2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":19737371,"node_id":"MDU6TGFiZWwxOTczNzM3MQ==","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Improvement","name":"Improvement","color":"d4c5f9","default":false},{"id":904910825,"node_id":"MDU6TGFiZWw5MDQ5MTA4MjU=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/develop","name":"develop","color":"6270ea","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614/commits","review_comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614/comments","review_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11614/comments","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/5887d7d9beb871d01186816c3209355a12ec784f","head":{"label":"kpodemski:custom-product-labels","ref":"custom-product-labels","sha":"5887d7d9beb871d01186816c3209355a12ec784f","user":{"login":"kpodemski","id":2137763,"node_id":"MDQ6VXNlcjIxMzc3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2137763?v=4","gravatar_id":"","url":"https://api.github.com/users/kpodemski","html_url":"https://github.com/kpodemski","followers_url":"https://api.github.com/users/kpodemski/followers","following_url":"https://api.github.com/users/kpodemski/following{/other_user}","gists_url":"https://api.github.com/users/kpodemski/gists{/gist_id}","starred_url":"https://api.github.com/users/kpodemski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpodemski/subscriptions","organizations_url":"https://api.github.com/users/kpodemski/orgs","repos_url":"https://api.github.com/users/kpodemski/repos","events_url":"https://api.github.com/users/kpodemski/events{/privacy}","received_events_url":"https://api.github.com/users/kpodemski/received_events","type":"User","site_admin":false},"repo":{"id":30925768,"node_id":"MDEwOlJlcG9zaXRvcnkzMDkyNTc2OA==","name":"PrestaShop","full_name":"kpodemski/PrestaShop","private":false,"owner":{"login":"kpodemski","id":2137763,"node_id":"MDQ6VXNlcjIxMzc3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2137763?v=4","gravatar_id":"","url":"https://api.github.com/users/kpodemski","html_url":"https://github.com/kpodemski","followers_url":"https://api.github.com/users/kpodemski/followers","following_url":"https://api.github.com/users/kpodemski/following{/other_user}","gists_url":"https://api.github.com/users/kpodemski/gists{/gist_id}","starred_url":"https://api.github.com/users/kpodemski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpodemski/subscriptions","organizations_url":"https://api.github.com/users/kpodemski/orgs","repos_url":"https://api.github.com/users/kpodemski/repos","events_url":"https://api.github.com/users/kpodemski/events{/privacy}","received_events_url":"https://api.github.com/users/kpodemski/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kpodemski/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open-source e-commerce solution.","fork":true,"url":"https://api.github.com/repos/kpodemski/PrestaShop","forks_url":"https://api.github.com/repos/kpodemski/PrestaShop/forks","keys_url":"https://api.github.com/repos/kpodemski/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kpodemski/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kpodemski/PrestaShop/teams","hooks_url":"https://api.github.com/repos/kpodemski/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/kpodemski/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/kpodemski/PrestaShop/events","assignees_url":"https://api.github.com/repos/kpodemski/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/kpodemski/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/kpodemski/PrestaShop/tags","blobs_url":"https://api.github.com/repos/kpodemski/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kpodemski/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kpodemski/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/kpodemski/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kpodemski/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/kpodemski/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/kpodemski/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/kpodemski/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/kpodemski/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/kpodemski/PrestaShop/subscription","commits_url":"https://api.github.com/repos/kpodemski/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/kpodemski/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/kpodemski/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/kpodemski/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/kpodemski/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/kpodemski/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kpodemski/PrestaShop/merges","archive_url":"https://api.github.com/repos/kpodemski/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kpodemski/PrestaShop/downloads","issues_url":"https://api.github.com/repos/kpodemski/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/kpodemski/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/kpodemski/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/kpodemski/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kpodemski/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/kpodemski/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/kpodemski/PrestaShop/deployments","created_at":"2015-02-17T16:28:07Z","updated_at":"2015-04-03T15:31:12Z","pushed_at":"2018-12-05T01:01:25Z","git_url":"git://github.com/kpodemski/PrestaShop.git","ssh_url":"git@github.com:kpodemski/PrestaShop.git","clone_url":"https://github.com/kpodemski/PrestaShop.git","svn_url":"https://github.com/kpodemski/PrestaShop","homepage":"http://www.prestashop.com/","size":348673,"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":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"1.6"}},"base":{"label":"PrestaShop:develop","ref":"develop","sha":"da69e20bdc45d98f7234c0a36fe625b89a111acb","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":6763587,"node_id":"MDEwOlJlcG9zaXRvcnk2NzYzNTg3","name":"PrestaShop","full_name":"PrestaShop/PrestaShop","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/PrestaShop","description":"PrestaShop offers a fully scalable open source ecommerce solution.","fork":false,"url":"https://api.github.com/repos/PrestaShop/PrestaShop","forks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/forks","keys_url":"https://api.github.com/repos/PrestaShop/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrestaShop/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrestaShop/PrestaShop/teams","hooks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/events","assignees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/PrestaShop/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/tags","blobs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/PrestaShop/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscription","commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/PrestaShop/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrestaShop/PrestaShop/merges","archive_url":"https://api.github.com/repos/PrestaShop/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrestaShop/PrestaShop/downloads","issues_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/PrestaShop/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/PrestaShop/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/PrestaShop/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/deployments","created_at":"2012-11-19T16:41:31Z","updated_at":"2018-12-05T13:20:28Z","pushed_at":"2018-12-05T12:36:35Z","git_url":"git://github.com/PrestaShop/PrestaShop.git","ssh_url":"git@github.com:PrestaShop/PrestaShop.git","clone_url":"https://github.com/PrestaShop/PrestaShop.git","svn_url":"https://github.com/PrestaShop/PrestaShop","homepage":"http://www.prestashop.com/","size":386447,"stargazers_count":3320,"watchers_count":3320,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2995,"mirror_url":null,"archived":false,"open_issues_count":1224,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2995,"open_issues":1224,"watchers":3320,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/11614"},"issue":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11614"},"comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11614/comments"},"review_comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614/comments"},"review_comment":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/11614/commits"},"statuses":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/5887d7d9beb871d01186816c3209355a12ec784f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mickaelandrieu"}}