diff --git a/book/forms.rst b/book/forms.rst index 693a6a973b0..1ace0e51b8b 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -1675,7 +1675,7 @@ file: xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd"> - + AcmeTaskBundle:Form diff --git a/book/http_cache.rst b/book/http_cache.rst index e30bd40c7b7..1f0dbf45dc1 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -862,13 +862,13 @@ First, to use ESI, be sure to enable it in your application configuration: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:framework="http://symfony.com/schema/dic/symfony" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd - http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd"> + http://symfony.com/schema/dic/symfony + http://symfony.com/schema/dic/symfony/symfony-1.0.xsd"> - + - .. code-block:: php diff --git a/book/internals.rst b/book/internals.rst index 45429c9c133..ee8bcca6afd 100644 --- a/book/internals.rst +++ b/book/internals.rst @@ -621,7 +621,7 @@ If you enable the web profiler, you also need to mount the profiler routes: .. code-block:: yaml _profiler: - resource: @WebProfilerBundle/Resources/config/routing/profiler.xml + resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" prefix: /_profiler .. code-block:: xml diff --git a/book/service_container.rst b/book/service_container.rst index a92ecfb5982..b147b233b14 100644 --- a/book/service_container.rst +++ b/book/service_container.rst @@ -629,7 +629,7 @@ the service container gives you a much more appealing option: - + @@ -726,7 +726,7 @@ Injecting the dependency by the setter method just needs a change of syntax: - + @@ -794,7 +794,7 @@ it exists and do nothing if it doesn't: xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> - + diff --git a/components/dependency_injection/configurators.rst b/components/dependency_injection/configurators.rst index 653da0cee02..d13c9118fb6 100644 --- a/components/dependency_injection/configurators.rst +++ b/components/dependency_injection/configurators.rst @@ -156,7 +156,7 @@ The service config for the above classes would look something like this: .. code-block:: xml - + diff --git a/cookbook/configuration/using_parameters_in_dic.rst b/cookbook/configuration/using_parameters_in_dic.rst index c208a868980..0d224ec5593 100644 --- a/cookbook/configuration/using_parameters_in_dic.rst +++ b/cookbook/configuration/using_parameters_in_dic.rst @@ -36,7 +36,7 @@ Now, examine the results to see this closely: # true, as expected my_bundle: - logging: %kernel.debug% + logging: "%kernel.debug%" # true/false (depends on 2nd parameter of AppKernel), # as expected, because %kernel.debug% inside configuration # gets evaluated before being passed to the extension diff --git a/cookbook/form/form_collections.rst b/cookbook/form/form_collections.rst index 27ab0bc74db..497f25c4cb9 100644 --- a/cookbook/form/form_collections.rst +++ b/cookbook/form/form_collections.rst @@ -510,7 +510,7 @@ we talk about next!). xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + @@ -609,7 +609,7 @@ First, add a "delete this tag" link to each tag form: jQuery(document).ready(function() { // Get the ul that holds the collection of tags $collectionHolder = $('ul.tags'); - + // add a delete link to all of the existing tag form li elements $collectionHolder.find('li').each(function() { addTagFormDeleteLink($(this)); @@ -667,9 +667,9 @@ the relationship between the removed ``Tag`` and ``Task`` object. is handling the "update" of your Task:: // src/Acme/TaskBundle/Controller/TaskController.php - + use Doctrine\Common\Collections\ArrayCollection; - + // ... public function editAction($id, Request $request) { diff --git a/cookbook/templating/global_variables.rst b/cookbook/templating/global_variables.rst index 78ed01009bc..5191148f158 100644 --- a/cookbook/templating/global_variables.rst +++ b/cookbook/templating/global_variables.rst @@ -20,7 +20,7 @@ This is possible inside your ``app/config/config.yml`` file: .. code-block:: xml - + UA-xxxxx-x @@ -67,7 +67,7 @@ system, which lets you isolate or reuse the value: .. code-block:: xml - + %ga_tracking% @@ -111,7 +111,7 @@ This should feel familiar, as it's the same syntax you use in service configurat .. code-block:: xml - + @acme_user.user_management diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index d1a25c75a39..40a291a2076 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -59,8 +59,8 @@ Full default configuration MultipleActiveResultSets: ~ driver: pdo_mysql platform_service: ~ - logging: %kernel.debug% - profiling: %kernel.debug% + logging: "%kernel.debug%" + profiling: "%kernel.debug%" driver_class: ~ wrapper_class: ~ options: @@ -106,7 +106,7 @@ Full default configuration orm: default_entity_manager: ~ auto_generate_proxy_classes: false - proxy_dir: %kernel.cache_dir%/doctrine/orm/Proxies + proxy_dir: "%kernel.cache_dir%/doctrine/orm/Proxies" proxy_namespace: Proxies # search for the "ResolveTargetEntityListener" class for a cookbook about this resolve_target_entities: [] @@ -416,7 +416,7 @@ Shortened Configuration Syntax ------------------------------ When you are only using one entity manager, all config options available -can be placed directly under ``doctrine.orm`` config level. +can be placed directly under ``doctrine.orm`` config level. .. code-block:: yaml diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index e335d359b1e..3b2a21c0d87 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -103,19 +103,19 @@ have installed `PhpStormOpener`_ and use PHPstorm, you will do something like: framework: ide: "pstorm://%%f:%%l" - + .. code-block:: xml - + - + - + - + .. code-block:: php - + $container->loadFromExtension('framework', array( 'ide' => 'pstorm://%%f:%%l', )); @@ -536,7 +536,7 @@ Full default Configuration gc_divisor: ~ gc_probability: ~ gc_maxlifetime: ~ - save_path: %kernel.cache_dir%/sessions + save_path: "%kernel.cache_dir%/sessions" # serializer configuration serializer: @@ -545,7 +545,7 @@ Full default Configuration # templating configuration templating: assets_version: ~ - assets_version_format: %%s?%%s + assets_version_format: "%%s?%%s" hinclude_default_template: ~ form: resources: @@ -566,7 +566,7 @@ Full default Configuration # Prototype name: version: ~ - version_format: %%s?%%s + version_format: "%%s?%%s" base_urls: http: [] ssl: [] @@ -586,8 +586,8 @@ Full default Configuration # annotation configuration annotations: cache: file - file_cache_dir: %kernel.cache_dir%/annotations - debug: %kernel.debug% + file_cache_dir: "%kernel.cache_dir%/annotations" + debug: "%kernel.debug%" .. _`protocol-relative`: http://tools.ietf.org/html/rfc3986#section-4.2 .. _`PhpStormOpener`: https://github.com/pinepain/PhpStormOpener