From a7da13a67b99eaec031fa3c20823e80160277dbc Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 4 Oct 2013 19:23:10 +0200 Subject: [PATCH] fix build errors --- components/debug.rst | 4 ++-- components/intl.rst | 5 +++-- cookbook/form/dynamic_form_modification.rst | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/components/debug.rst b/components/debug.rst index a718ba6ee74..ac7e3a1948a 100644 --- a/components/debug.rst +++ b/components/debug.rst @@ -31,8 +31,8 @@ Enabling them all is as easy as it can get:: The :method:`Symfony\\Component\\Debug\\Debug::enable` method registers an error handler and an exception handler. If the :doc:`ClassLoader component -` is available, a special class loader is also -registered. +` is available, a special class loader +is also registered. Read the following sections for more information about the different available tools. diff --git a/components/intl.rst b/components/intl.rst index 8bc29c168c5..a335f3a98b3 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -51,8 +51,9 @@ replace the intl classes: Composer automatically exposes these classes in the global namespace. If you don't use Composer but the -:doc:`Symfony ClassLoader component`, you need to -expose them manually by adding the following lines to your autoload code:: +:doc:`Symfony ClassLoader component `, +you need to expose them manually by adding the following lines to your autoload +code:: if (!function_exists('intl_is_failure')) { require '/path/to/Icu/Resources/stubs/functions.php'; diff --git a/cookbook/form/dynamic_form_modification.rst b/cookbook/form/dynamic_form_modification.rst index 4154ed38eca..9bf7889e485 100644 --- a/cookbook/form/dynamic_form_modification.rst +++ b/cookbook/form/dynamic_form_modification.rst @@ -475,7 +475,7 @@ On a form, we can usually listen to the following events: below example uses. The key is to add a ``POST_SUBMIT`` listener to the field that your new field -depends on. If you add a ``POST_SUBMIT`` listener to a form child (e.g. ``sport`), +depends on. If you add a ``POST_SUBMIT`` listener to a form child (e.g. ``sport``), and add new children to the parent form, the Form component will detect the new field automatically and map it to the submitted client data.