Skip to content
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

Dropped obsolete Debug Bundle DebugTemplate class #357

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Apr 18, 2024

🎫 Issue n/a
BC breaks no [1]

Description:

base_template_class configuration option has been removed in Twig 3.0.0-BETA1 so currently while Twig Bundle doesn't show deprecation, it's basically unused. Given that we've extended an internal class there, which was not correct, we've decided to drop the class completely.

The deprecation warning for base_template_class Twig Bundle config has been proposed by @Steveb-p via symfony/symfony#54657.

BC consideration

[1] This is an internal class that was never documented as consumable or extendable. The feature which it provided is not available anymore in Twig, making the class obsolete. Because of all the above this is not a BC break.

For QA:

Regression tests are enough, since there's no evidence of this class being in use at all anywhere. Running them just in case.

Documentation:

Not needed as we've dropped an internal class.

Copy link

sonarcloud bot commented Apr 18, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@alongosz alongosz requested a review from a team April 18, 2024 12:16
@alongosz alongosz merged commit 65cf2fd into 4.6 Apr 18, 2024
22 checks passed
@alongosz alongosz deleted the drop-debug-template branch April 18, 2024 14:44
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.

6 participants