Skip to content

Conversation

@HypeMC
Copy link
Member

@HypeMC HypeMC commented Oct 27, 2025

Q A
Branch? 3.x
Bug fix? no
New feature? no
Deprecations? no
Issues -
License MIT

The DebugHandler was removed way back in Symfony 4.0. Since the bundle only supports >=6.4, this is no longer needed.

This was an oversight in #526.

@HypeMC HypeMC changed the base branch from 3.x to 4.x October 27, 2025 21:22
@HypeMC HypeMC force-pushed the remove-debughandler branch from df4e9fd to 902cd7f Compare October 27, 2025 21:22
@HypeMC HypeMC changed the title Remove DebugHandler Remove support for the DebugHandler Oct 27, 2025
@HypeMC HypeMC force-pushed the remove-debughandler branch from 46babe9 to 902cd7f Compare October 27, 2025 21:51
Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

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

Good catch! That one wasn't easy to spot.

@GromNaN
Copy link
Member

GromNaN commented Oct 27, 2025

Thank you @HypeMC.

@GromNaN GromNaN merged commit 3d790a6 into symfony:4.x Oct 27, 2025
14 checks passed
@HypeMC HypeMC deleted the remove-debughandler branch October 27, 2025 23:02
@HypeMC HypeMC mentioned this pull request Oct 27, 2025
GromNaN added a commit that referenced this pull request Oct 27, 2025
This PR was merged into the 4.x branch.

Discussion
----------

Use `::class` constant

| Q             | A
| ------------- | ---
| Branch?       | 4.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

Currently, we have a mix of strings and constants. I suggest using constants everywhere. This actually helped me spot #553.

I targeted 4.x because there would be a lot of conflicts if done on 3.x.

Also, I intentionally didn't import non-Symfony classes, as I think this is more readable. That's just my opinion though, I'm fine with imports as well.

Commits
-------

fc36540 Use `::class` constant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants