Navigation Menu

Skip to content
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

Allow overriding _PS_DISPLAY_COMPATIBILITY_WARNING_ in defines_custom.inc.php #27127

Merged
merged 1 commit into from Jan 13, 2022

Conversation

PrestaEdit
Copy link
Contributor

@PrestaEdit PrestaEdit commented Dec 29, 2021

Questions Answers
Branch? develop
Description? With the usage of defines_custom.inc.php file, we can define some consts but not the _PS_DISPLAY_COMPATIBILITY_WARNING_ one.
Type? improvement
Category? CO
BC breaks? no
Deprecations? no
How to test? n/d.
Possible impacts? n/d.

This change is Reviewable

@PrestaEdit PrestaEdit requested a review from a team as a code owner December 29, 2021 10:10
@prestonBot
Copy link
Collaborator

Hi, thanks for this contribution!

I found some issues with the Pull Request description:

  • Your pull request does not seem to fix any issue, consider creating one (see note below) and linking it by writing Fixes #1234.

Would you mind having a look at it? This will help us understand how interesting your contribution is, thank you very much!

About linked issues

Please consider opening an issue before submitting a Pull Request:

  • If it's a bug fix, it helps maintainers verify that the bug is effectively due to a defect in the code, and that it hasn't been fixed already.
  • It can help trigger a discussion about the best implementation path before a single line of code is written.
  • It may lead the Core Product team to mark that issue as a priority, further attracting the maintainers' attention.

(Note: this is an automated message, but answering it will reach a real human)

@prestonBot prestonBot added develop Branch Improvement Type: Improvement labels Dec 29, 2021
@matthieu-rolland matthieu-rolland changed the title Allow to define _PS_DISPLAY_COMPATIBILITY_WARNING_ inside defines_cus… Allow overriding _PS_DISPLAY_COMPATIBILITY_WARNING_ in defines_custom.inc.php Dec 31, 2021
Copy link
Contributor

@matthieu-rolland matthieu-rolland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello, did you have a peculiar use case where this was necessary ?

Anyway it looks good to me, I don't see any drawback, let's see what other devs thing about this 🤔

@PrestaEdit
Copy link
Contributor Author

Hi @matthieu-rolland ,

No really use case, just a "best" practice. I'm surely the only one to say that we need to enable the debug mode into this file and not editing the main file, but, yeah, is that :D

As likely every others defines could be set before this file, it could be usefull to have it on the same files as others ;-)

Copy link
Contributor

@matthieu-rolland matthieu-rolland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, I still approve your PR, let's see what other reviewers think about this ;)

Copy link
Contributor

@sowbiba sowbiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems harmless

@sowbiba sowbiba added the Waiting for QA Status: action required, waiting for test feedback label Jan 7, 2022
@Robin-Fischer-PS Robin-Fischer-PS added the Waiting for dev Status: action required, waiting for tech feedback label Jan 7, 2022
@Robin-Fischer-PS
Copy link
Contributor

Hi,

No issue linked, no how to test... This must be tested by a dev ;)

Thanks.

@atomiix atomiix merged commit f1a8364 into PrestaShop:develop Jan 13, 2022
@atomiix
Copy link
Contributor

atomiix commented Jan 13, 2022

Thanks @PrestaEdit

@Progi1984 Progi1984 added this to the 8.0.0 milestone Jan 14, 2022
@matks matks added QA ✔️ Status: check done, code approved and removed Waiting for QA Status: action required, waiting for test feedback Waiting for dev Status: action required, waiting for tech feedback labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
develop Branch Improvement Type: Improvement QA ✔️ Status: check done, code approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants