Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] MicroKernelTrait configureRouting(Configurator) #12688

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

Conversation

vudaltsov
Copy link
Contributor

@vudaltsov vudaltsov changed the title [Routing] MicroKernelTrait::configureRoutes(Builder) -> configureRouting(Configurator) [FrameworkBundle] MicroKernelTrait configureRouting(Configurator) Nov 24, 2019
@wouterj wouterj added the Waiting Code Merge Docs for features pending to be merged label Nov 24, 2019
@wouterj wouterj added this to the next milestone Nov 24, 2019
Copy link
Member

@wouterj wouterj left a comment

Choose a reason for hiding this comment

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

Thanks for submitting the docs for your code feature! I would like to add 2 versionadded indications (it doesn't look relevant for me to put one in the 3rd file)

fabpot added a commit to symfony/symfony that referenced this pull request Nov 25, 2019
This PR was squashed before being merged into the 5.1-dev branch (closes #32937).

Discussion
----------

[Routing] Deprecate RouteCollectionBuilder

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #32240
| License       | MIT
| Doc PR        | symfony/symfony-docs#12688
| Recipe PR | symfony/recipes#690

A lot to be done here after the implementation is accepted:
- [x] finish deprecations in the MicroKernelTrait
- [x] deprecate the class
- [x] mention in the CHANGELOG file
- [x] mention in the UPGRADE file
- [x] mark tests as legacy
- [x] add a doc PR
- [x] update the recipe

Ping @Tobion , @nicolas-grekas .

Commits
-------

e641cbd [Routing] Deprecate RouteCollectionBuilder
symfony-splitter pushed a commit to symfony/routing that referenced this pull request Nov 25, 2019
This PR was squashed before being merged into the 5.1-dev branch (closes #32937).

Discussion
----------

[Routing] Deprecate RouteCollectionBuilder

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #32240
| License       | MIT
| Doc PR        | symfony/symfony-docs#12688
| Recipe PR | symfony/recipes#690

A lot to be done here after the implementation is accepted:
- [x] finish deprecations in the MicroKernelTrait
- [x] deprecate the class
- [x] mention in the CHANGELOG file
- [x] mention in the UPGRADE file
- [x] mark tests as legacy
- [x] add a doc PR
- [x] update the recipe

Ping @Tobion , @nicolas-grekas .

Commits
-------

e641cbdd46 [Routing] Deprecate RouteCollectionBuilder
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Nov 25, 2019
This PR was squashed before being merged into the 5.1-dev branch (closes #32937).

Discussion
----------

[Routing] Deprecate RouteCollectionBuilder

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #32240
| License       | MIT
| Doc PR        | symfony/symfony-docs#12688
| Recipe PR | symfony/recipes#690

A lot to be done here after the implementation is accepted:
- [x] finish deprecations in the MicroKernelTrait
- [x] deprecate the class
- [x] mention in the CHANGELOG file
- [x] mention in the UPGRADE file
- [x] mark tests as legacy
- [x] add a doc PR
- [x] update the recipe

Ping @Tobion , @nicolas-grekas .

Commits
-------

e641cbdd46 [Routing] Deprecate RouteCollectionBuilder
@javiereguiluz javiereguiluz removed the Waiting Code Merge Docs for features pending to be merged label Sep 7, 2020
@wouterj
Copy link
Member

wouterj commented Oct 21, 2020

Hi @vudaltsov! Thanks for submitting a doc PR alonside your code one.

However, when looking at the current code, it seems like the route is still called configureRoutes(): https://github.com/symfony/symfony/blob/5.1/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php#L159-L163 So I'm going to close this PR, as it seems like there is nothing more to do (the micro kernel example has recently been updated to use the configurators).

If I'm wrong, feel free to comment :)

@wouterj wouterj closed this Oct 21, 2020
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.

4 participants