Skip to content

Removing note about Kernel configuration #17515

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

Closed
wants to merge 1 commit into from

Conversation

ThomasLandauer
Copy link
Contributor

Since 5.4, there's nothing to configure anymore in the kernel: https://github.com/symfony/recipes/blob/main/symfony/framework-bundle/5.4/src/Kernel.php So PHP&XML routes are loaded automatically - or aren't they?

Since 5.4, there's nothing to configure anymore in the kernel: https://github.com/symfony/recipes/blob/main/symfony/framework-bundle/5.4/src/Kernel.php
So PHP&XML routes are loaded automatically - or aren't they?
@carsonbot carsonbot added this to the 5.4 milestone Dec 5, 2022
ThomasLandauer added a commit to ThomasLandauer/symfony-docs that referenced this pull request Dec 5, 2022
@HypeMC
Copy link
Member

HypeMC commented Dec 6, 2022

They're not, PHP was added in 6.1 & XML was never added.

@ThomasLandauer
Copy link
Contributor Author

Well, looks like I forgot my own issue symfony/symfony#45116 where you already told me the same ;-)

Anyway, I don't know what needs to be done in the Kernel in 5.4 and 6.0 to get PHP config going. Do you?

When telling people to "update the src/Kernel.php file", there should be some link (or better: code) explaining how.

Link to the page: https://symfony.com/doc/current/routing.html

@HypeMC
Copy link
Member

HypeMC commented Dec 6, 2022

There's an example here: https://symfony.com/doc/5.4/configuration.html#configuration-formats

But yeah, a link to that page might be nice.

@ThomasLandauer
Copy link
Contributor Author

Thanks, I'm closing here.

ThomasLandauer added a commit to ThomasLandauer/symfony-docs that referenced this pull request Dec 6, 2022
@ThomasLandauer ThomasLandauer deleted the patch-6 branch December 6, 2022 16:53
javiereguiluz added a commit that referenced this pull request Dec 8, 2022
This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

Adding link to Kernel configuration

Follow-up of #17515

Commits
-------

16fe8bd Adding link to Kernel configuration
javiereguiluz pushed a commit to ThomasLandauer/symfony-docs that referenced this pull request Dec 8, 2022
javiereguiluz added a commit that referenced this pull request Dec 8, 2022
This PR was merged into the 6.1 branch.

Discussion
----------

[Routing] Adding default PHP format

Info is taken from #17515 (comment)

Commits
-------

483ea42 Adding default PHP format
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