-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Debug] Deprecate ContextErrorException #21388
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
Conversation
👍 Btw, it would be great to fix the deps=high failures in the VarDumper component |
Thank you @nicolas-grekas. |
This PR was merged into the 3.3-dev branch. Discussion ---------- [Debug] Deprecate ContextErrorException | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Since the `$context` argument is going to be deprecated in PHP 7.2 (see https://wiki.php.net/rfc/deprecations_php_7_2#errcontext_argument_of_error_handler), let's deprecate ContextErrorException altogether. Commits ------- c379707 [Debug] Deprecate ContextErrorException
@@ -71,13 +70,12 @@ public function testNotice() | |||
|
|||
try { | |||
self::triggerNotice($this); |
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.
The variable and comment in triggerNotice
should be removed
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.
removed in 0bcc5af
This PR was merged into the 4.0-dev branch. Discussion ---------- [Debug] Removed ContextErrorException | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | #21388 | License | MIT | Doc PR | n/a Commits ------- 76dc317 Removed ContextErrorException
Since the
$context
argument is going to be deprecated in PHP 7.2 (see https://wiki.php.net/rfc/deprecations_php_7_2#errcontext_argument_of_error_handler), let's deprecate ContextErrorException altogether.