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

Fix SQL syntax highlight on Symfony 6.3 #1680

Merged
merged 1 commit into from Jun 28, 2023

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented Jun 28, 2023

The SQL syntax highlighting is broken on Symfony 6.3:

image

The CSS was removed in symfony/symfony#48757 (symfony/symfony@b5a10ce).

Since the idea of the PR was to move panel specific styles to their respective template files, it'd make sense to move this CSS to the Doctrine bundle. The only problem with this approach is that on Symfony 6.2 the CSS would be displayed twice, once by Symfony's WebProfilerBundle and once by the DoctrineBundle. I don't think that's a big issue however.

Maybe @javiereguiluz has some input?

Copy link
Contributor

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

Thanks @HypeMC!

I agree with you that it's not a big deal to includes these CSS styles twice in 6.2.

@ostrolucky ostrolucky added this to the 2.10.1 milestone Jun 28, 2023
@ostrolucky ostrolucky added the Bug label Jun 28, 2023
@dmaicher dmaicher merged commit 80d2b43 into doctrine:2.10.x Jun 28, 2023
12 checks passed
@dmaicher
Copy link
Contributor

Thanks @HypeMC

@HypeMC HypeMC deleted the fix-highlight-on-sf-6.3 branch June 28, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants