8000 [Debug] Undefined variables raise a warning in php 8 by derrabus · Pull Request #36897 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Debug] Undefined variables raise a warning in php 8 #36897

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

Merged
merged 1 commit into from
May 22, 2020

Conversation

derrabus
Copy link
Member
Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #36872
License MIT
Doc PR N/A

ErrorHandlerTest executes code with undefined variables to test how the error handler handles the triggered errors. In php 8.0, the severity and error message for this class of errors has been changed. I've adjusted the test accordingly.

@fabpot
Copy link
Member
fabpot commented May 22, 2020

Thank you @derrabus.

@fabpot fabpot merged commit b202696 into symfony:3.4 May 22, 2020
@derrabus derrabus deleted the bugfix/php8-error-levels branch May 22, 2020 17:00
nicolas-grekas added a commit that referenced this pull request May 23, 2020
…rrabus)

This PR was merged into the 4.4 branch.

Discussion
----------

[ErrorHandler] Apply php8 fixes from Debug component

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #36872
| License       | MIT
| Doc PR        | N/A

The changes of #36898 and #36897 ported to the ErrorHandler component.

Commits
-------

54f1869 [ErrorHandler] Apply php8 fixes from Debug component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0