From bee41916fed451edd44ec394bb3852ee380254c9 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 20 Mar 2019 13:05:27 +0100 Subject: [PATCH] use consistent placeholder comments in yaml, php and xml --- create_framework/http_kernel_httpkernelinterface.rst | 2 +- deployment/fortrabbit.rst | 8 ++++---- routing.rst | 2 +- security/api_key_authentication.rst | 2 +- security/guard_authentication.rst | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/create_framework/http_kernel_httpkernelinterface.rst b/create_framework/http_kernel_httpkernelinterface.rst index 7a682e5c7b4..350b1291716 100644 --- a/create_framework/http_kernel_httpkernelinterface.rst +++ b/create_framework/http_kernel_httpkernelinterface.rst @@ -55,7 +55,7 @@ PHP; it implements ``HttpKernelInterface`` and wraps another // example.com/web/front.php - // .. + // ... $framework = new Simplex\Framework($dispatcher, $matcher, $controllerResolver, $argumentResolver); $framework = new HttpKernel\HttpCache\HttpCache( diff --git a/deployment/fortrabbit.rst b/deployment/fortrabbit.rst index d30cf4c9adf..4c49851eb9b 100644 --- a/deployment/fortrabbit.rst +++ b/deployment/fortrabbit.rst @@ -126,12 +126,12 @@ Make sure this file is imported into the main config file: - { resource: config.yml } - { resource: config_prod_secrets.php } - # .. + # ... framework: session: # set handler_id to null to use default session handler from php.ini (memcached) handler_id: ~ - # .. + # ... .. code-block:: xml @@ -148,9 +148,9 @@ Make sure this file is imported into the main config file: - + - + diff --git a/routing.rst b/routing.rst index 38242376d6e..90d0977ffbc 100644 --- a/routing.rst +++ b/routing.rst @@ -724,7 +724,7 @@ This happens when your controller method has an argument (e.g. ``$slug``):: public function showAction($slug) { - // .. + // ... } But your route path does *not* have a ``{slug}`` wildcard (e.g. it is ``/blog/show``). diff --git a/security/api_key_authentication.rst b/security/api_key_authentication.rst index c1d08b8a9ea..f21255672ba 100644 --- a/security/api_key_authentication.rst +++ b/security/api_key_authentication.rst @@ -457,7 +457,7 @@ configuration or set it to ``false``: // app/config/security.php - // .. + // ... $container->loadFromExtension('security', [ 'firewalls' => [ 'secured_area' => [ diff --git a/security/guard_authentication.rst b/security/guard_authentication.rst index b78089fd415..67a35e8fe44 100644 --- a/security/guard_authentication.rst +++ b/security/guard_authentication.rst @@ -322,7 +322,7 @@ Finally, configure your ``firewalls`` key in ``security.yml`` to use this authen // app/config/security.php - // .. + // ... use AppBundle\Security\TokenAuthenticator; $container->loadFromExtension('security', [