-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
docs: add missing instruction for Config/Exceptions in PHP 8.2 #7100
docs: add missing instruction for Config/Exceptions in PHP 8.2 #7100
Conversation
app/Config/Exceptions.php | ||
------------------------- | ||
|
||
- If you are using PHP 8.2, you need to add new properties ``$logDeprecations`` and ``$deprecationLogLevel``. |
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.
How about 8.2+ ?
@@ -80,6 +80,8 @@ public function __construct(ExceptionsConfig $config, $request, ResponseInterfac | |||
$this->response = $response; | |||
|
|||
// workaround for upgraded users | |||
// This causes "Deprecated: Creation of dynamic property" in PHP 8.2. | |||
// @TODO remove this after dropping PHP 8.1 support. |
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 this todo?
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.
Just a reminder. When we support only PHP 8.2+, the Config file must have the properties.
Description
Fixes #7097
Checklist: