Skip to content

Fix routing order formats #8154

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 2 commits into from
Closed

Fix routing order formats #8154

wants to merge 2 commits into from

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Jul 14, 2017

http://symfony.com/doc/current/contributing/documentation/standards.html#formats:

  • Routing: Annotations, YAML, XML, PHP

Also, I've added use statement as service option belong to the Route annotation class of FrameworkExtraBundle.

http://symfony.com/doc/current/contributing/documentation/standards.html#formats:
> * Routing: Annotations, YAML, XML, PHP

Also, I've added `use` statement as `service` option belong to the `Route` annotation class of `FrameworkExtraBundle`.
.. code-block:: php-annotations

# src/AppBundle/Controller/HelloController.php
// ...
Copy link
Member

Choose a reason for hiding this comment

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

I think we should still keep the placeholder comment

hello:
path: /hello
defaults: { _controller: app.hello_controller:indexAction }

.. code-block:: php-annotations

# src/AppBundle/Controller/HelloController.php
Copy link
Member

Choose a reason for hiding this comment

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

# should be //

@xabbuh xabbuh added this to the 3.3 milestone Jul 18, 2017
@xabbuh
Copy link
Member

xabbuh commented Jul 21, 2017

Thank you @yceruto.

xabbuh added a commit that referenced this pull request Jul 21, 2017
This PR was squashed before being merged into the 3.3 branch (closes #8154).

Discussion
----------

Fix routing order formats

http://symfony.com/doc/current/contributing/documentation/standards.html#formats:
> * Routing: Annotations, YAML, XML, PHP

Also, I've added `use` statement as `service` option belong to the `Route` annotation class of `FrameworkExtraBundle`.

Commits
-------

79b2254 Fix routing order formats
@xabbuh xabbuh closed this Jul 21, 2017
@yceruto yceruto deleted the patch-4 branch July 21, 2017 11:39
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