8000 [FrameworkBundle] Fixed phpdoc in MicroKernelTrait::configureRoutes() by vudaltsov · Pull Request #27870 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Fixed phpdoc in MicroKernelTrait::configureRoutes() #27870

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

Merged
merged 1 commit into from
Jul 7, 2018

Conversation

vudaltsov
Copy link
Contributor
Q A
Branch? 4.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@@ -28,7 +28,7 @@
* Add or import routes into your application.
*
* $routes->import('config/routing.yml');
* $routes->add('/admin', 'AppBundle:Admin:dashboard', 'admin_dashboard');
* $routes->add('/admin', 'App\Controller\AdminController::dashboardAction', 'admin_dashboard');
Copy link
Member
@chalasr chalasr Jul 6, 2018

Choose a reason for hiding this comment

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

@vudaltsov
Copy link
Contributor Author

@chalasr , done!

@@ -28,7 +28,7 @@
* Add or import routes into your application.
*
* $routes->import('config/routing.yml');
* $routes->add('/admin', 'AppBundle:Admin:dashboard', 'admin_dashboard');
* $routes->add('/admin', 'App\Controller\AdminController::dashboard', 'admin_dashboard');
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be a single colon now?

Copy link
Member

Choose a reason for hiding this comment

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

didn't we deprecate single colon syntax?

Copy link
Contributor Author
@vudaltsov vudaltsov < 8000 a href="#discussion_r200609818" id="discussion_r200609818-permalink" class="Link--secondary js-timestamp">Jul 6, 2018

Choose a reason for hiding this comment

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

Here's were it happened #26085
So if I got it right, we now have Class::method instead of a:b:c and a:b

Copy link
Contributor Author

Choose a reason for hiding this comment

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

deprecation for OAuth bundle says the same
image

Copy link
Member

Choose a reason for hiding this comment

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

indeed, I confused that

@nicolas-grekas
Copy link
Member

Thank you @vudaltsov.

@nicolas-grekas nicolas-grekas merged commit 948c841 into symfony:4.1 Jul 7, 2018
nicolas-grekas added a commit that referenced this pull request Jul 7, 2018
…igureRoutes() (vudaltsov)

This PR was merged into the 4.1 branch.

Discussion
----------

[FrameworkBundle] Fixed phpdoc in MicroKernelTrait::configureRoutes()

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

948c841 [FrameworkBundle] Fixed phpdoc in MicroKernelTrait::configureRoutes()
@vudaltsov vudaltsov deleted the routing-phpdoc-fix branch December 14, 2018 10:24
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.

5 participants
0