-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Drop Debug compatibility layers #33027
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
chalasr
commented
Aug 7, 2019
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | - |
License | MIT |
Doc PR | - |
c73262f
to
7fc93e9
Compare
composer.json needs to be updated too, to remove the classmap entry |
@chalasr Line 137 in Console Application.php -> |
7fc93e9
to
db0d29f
Compare
@fancyweb fixed, thank you. @nicolas-grekas if you mean the one added by #32873 (comment), it was reverted there |
db0d29f
to
6b1b05e
Compare
Removed the |
src/Symfony/Bridge/ProxyManager/Legacy/ProxiedMethodReturnExpression.php
Outdated
Show resolved
Hide resolved
6b1b05e
to
8e9bff5
Compare
@@ -134,7 +132,7 @@ public function run(InputInterface $input = null, OutputInterface $output = null | |||
}; | |||
if ($phpHandler = set_exception_handler($renderException)) { | |||
restore_exception_handler(); | |||
if (!\is_array($phpHandler) || (!$phpHandler[0] instanceof ErrorHandler && !$phpHandler[0] instanceof LegacyErrorHandler)) { | |||
if (!\is_array($phpHandler) || (!$phpHandler[0] instanceof ErrorHandler)) { |
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.
extra brackets 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.
right! done
8e9bff5
to
2326b80
Compare
Thank you @chalasr. |
This PR was merged into the 5.0-dev branch. Discussion ---------- Drop Debug compatibility layers | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch. --> Commits ------- 2326b80 [Debug] Drop compatibility layers