New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use https in Employee not http #9136
Conversation
classes/Employee.php
Outdated
FROM `'._DB_PREFIX_.'module_preference` | ||
WHERE `id_employee` = '.(int)$this->id.' AND `favorite` = 1 AND (`interest` = 1 OR `interest` IS NULL)' | ||
); | ||
SELECT `module` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change the indentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's my sublime pluggin but we found 3 idententation in this class :
https://github.com/PrestaShop/PrestaShop/blob/develop/classes/Employee.php#L304
https://github.com/PrestaShop/PrestaShop/blob/develop/classes/Employee.php#L381
https://github.com/PrestaShop/PrestaShop/blob/develop/classes/Employee.php#L507
Tell me which is the right one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one look really good, https://github.com/PrestaShop/PrestaShop/blob/develop/classes/Employee.php#L304
It's PSR2 / Symfony style compliant :)
"Make ident grat again" => ahahah don't worry we can change the git label name :) Thansk @okom3pom |
oh ! |
and merged! Thanks @okom3pom |
* Use https instead of http in Employee class * Make ident great again
This change is