Skip to content

use :: instead of .. code-block:: php #11181

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
Mar 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions components/expression_language/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ This method has 3 arguments:
* **name** - The name of the function in an expression;
* **compiler** - A function executed when compiling an expression using the
function;
* **evaluator** - A function executed when the expression is evaluated.

.. code-block:: php
* **evaluator** - A function executed when the expression is evaluated::

use Symfony\Component\ExpressionLanguage\ExpressionLanguage;

Expand Down
2 changes: 1 addition & 1 deletion components/security/authorization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ recognizes several strategies:
``unanimous``
only grant access if none of the voters has denied access;

.. code-block:: php
Usage of the available options in detail::

use Symfony\Component\Security\Core\Authorization\AccessDecisionManager;

Expand Down
4 changes: 1 addition & 3 deletions deployment/proxies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ In this case, you'll need to - *very carefully* - trust *all* proxies.
other than your load balancers. For AWS, this can be done with `security groups`_.

#. Once you've guaranteed that traffic will only come from your trusted reverse
proxies, configure Symfony to *always* trust incoming request:

.. code-block:: php
proxies, configure Symfony to *always* trust incoming request::

// web/app.php

Expand Down
2 changes: 1 addition & 1 deletion workflow/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ like this:
],
]);

.. code-block:: php
As configured, the following property is used by the marking store::

class BlogPost
{
Expand Down