From 84c08dcf7779ebbb92308729129ca5b9df353c19 Mon Sep 17 00:00:00 2001 From: Emir Beganovic Date: Thu, 22 Sep 2016 12:42:55 +0200 Subject: [PATCH] Several typo fixes --- components/console/helpers/table.rst | 2 +- controller/argument_value_resolver.rst | 2 +- deployment/fortrabbit.rst | 4 ++-- doctrine.rst | 2 +- doctrine/associations.rst | 2 +- form/data_transformers.rst | 2 +- form/direct_submit.rst | 2 +- reference/configuration/framework.rst | 2 +- reference/forms/types/entity.rst | 2 +- security/ldap.rst | 2 +- serializer/custom_encoders.rst | 2 +- service_container/definitions.rst | 2 +- service_container/service_decoration.rst | 2 +- setup/web_server_configuration.rst | 8 ++++---- templating.rst | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/console/helpers/table.rst b/components/console/helpers/table.rst index 0970ed87d82..036d10f7181 100644 --- a/components/console/helpers/table.rst +++ b/components/console/helpers/table.rst @@ -222,7 +222,7 @@ This results in: .. tip:: You can create a multiple-line page title using a header cell that spans - the enire table width:: + the entire table width:: $table->setHeaders(array( array(new TableCell('Main table title', array('colspan' => 3))), diff --git a/controller/argument_value_resolver.rst b/controller/argument_value_resolver.rst index 236b68a27aa..c8e30120e83 100644 --- a/controller/argument_value_resolver.rst +++ b/controller/argument_value_resolver.rst @@ -172,7 +172,7 @@ and adding a priority. // app/config/services.php use Symfony\Component\DependencyInjection\Definition; - $defintion = new Definition( + $definition = new Definition( 'AppBundle\ArgumentResolver\UserValueResolver', array(new Reference('security.token_storage')) ); diff --git a/deployment/fortrabbit.rst b/deployment/fortrabbit.rst index 32768583c69..30e37468cde 100644 --- a/deployment/fortrabbit.rst +++ b/deployment/fortrabbit.rst @@ -175,7 +175,7 @@ Configuring the Environment in the Dashboard PHP Settings ~~~~~~~~~~~~ -The PHP version and enabled extensions are configuable under the PHP settings +The PHP version and enabled extensions are configurable under the PHP settings of your App within the fortrabbit Dashboard. Environment Variables @@ -187,7 +187,7 @@ config files get loaded. ENV vars are configuable in fortrabbit Dashboard as wel Document Root ~~~~~~~~~~~~~ -The document root is configuable for every custom domain you setup for your App. +The document root is configurable for every custom domain you setup for your App. The default is ``/htdocs``, but for Symfony you probably want to change it to ``/htdocs/web``. You also do so in the fortrabbit Dashboard under ``Domain`` settings. diff --git a/doctrine.rst b/doctrine.rst index 1467166394c..b8c9ca017ab 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -887,7 +887,7 @@ Doctrine allows you to use any PHP object to hold your data and relies on mapping metadata information to map an object's data to a particular database table. -Doctrine has a lot more complex features to learn, like relationshps, complex queries, +Doctrine has a lot more complex features to learn, like relationships, complex queries, and event listeners. Learn more diff --git a/doctrine/associations.rst b/doctrine/associations.rst index 15fd530065d..cee44da24e7 100644 --- a/doctrine/associations.rst +++ b/doctrine/associations.rst @@ -162,7 +162,7 @@ to hold those associated objects. While the many-to-one mapping shown earlier was mandatory, this one-to-many mapping is optional. It is included here to help demonstrate Doctrine's range -of relationship management capabailties. Plus, in the context of this application, +of relationship management capabilities. Plus, in the context of this application, it will likely be convenient for each ``Category`` object to automatically own a collection of its related ``Product`` objects. diff --git a/form/data_transformers.rst b/form/data_transformers.rst index 28e1a9c2b5c..679e3447621 100644 --- a/form/data_transformers.rst +++ b/form/data_transformers.rst @@ -49,7 +49,7 @@ Suppose you have a Task form with a tags ``text`` type:: } Internally the ``tags`` are stored as an array, but displayed to the user as a -simple comma seperated string to make them easier to edit. +simple comma separated string to make them easier to edit. This is a *perfect* time to attach a custom data transformer to the ``tags`` field. The easiest way to do this is with the :class:`Symfony\\Component\\Form\\CallbackTransformer` diff --git a/form/direct_submit.rst b/form/direct_submit.rst index 1108047ce8d..b70ce92dca7 100644 --- a/form/direct_submit.rst +++ b/form/direct_submit.rst @@ -82,4 +82,4 @@ method, pass the submitted data directly to When submitting a form via a "PATCH" request, you may want to update only a few submitted fields. To achieve this, you may pass an optional second boolean parameter to ``submit()``. Passing ``false`` will remove any missing fields - within the form object. Otherwise, the mising fields will be set to ``null``. + within the form object. Otherwise, the missing fields will be set to ``null``. diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index a62218b8240..ac4dcedc0a4 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -311,7 +311,7 @@ trusted_hosts A lot of different attacks have been discovered relying on inconsistencies in handling the ``Host`` header by various software (web servers, reverse -proxies, web frameworks, etc.). Basically, everytime the framework is +proxies, web frameworks, etc.). Basically, every time the framework is generating an absolute URL (when sending an email to reset a password for instance), the host might have been manipulated by an attacker. diff --git a/reference/forms/types/entity.rst b/reference/forms/types/entity.rst index 5363c25f8e4..9f986a6f267 100644 --- a/reference/forms/types/entity.rst +++ b/reference/forms/types/entity.rst @@ -263,7 +263,7 @@ These options inherit from the :doc:`ChoiceType ` .. note:: This option expects an array of entity objects (that's actually the same as with - the ``ChoiceType`` field, whichs requires an array of the preferred "values"). + the ``ChoiceType`` field, which requires an array of the preferred "values"). .. include:: /reference/forms/types/options/choice_type_translation_domain.rst.inc diff --git a/security/ldap.rst b/security/ldap.rst index ba84ba1fd93..66e13686857 100644 --- a/security/ldap.rst +++ b/security/ldap.rst @@ -196,7 +196,7 @@ search_password **type**: ``string`` **default**: ``null`` -This is your read-only user's password, wich will be used to authenticate +This is your read-only user's password, which will be used to authenticate against the LDAP server in order to fetch the user's information. default_roles diff --git a/serializer/custom_encoders.rst b/serializer/custom_encoders.rst index 7c573ec2527..ccdffb3a1b3 100644 --- a/serializer/custom_encoders.rst +++ b/serializer/custom_encoders.rst @@ -6,7 +6,7 @@ How to Create your Custom Encoder The :doc:`Serializer Component ` uses Normalizers to transform any data to an array. Then, by leveraging *Encoders*, that data can -be convereted into any data-structure (e.g. JSON). +be converted into any data-structure (e.g. JSON). The Component provides several built-in encoders that are described :doc:`in their own section ` but you may want diff --git a/service_container/definitions.rst b/service_container/definitions.rst index 4b64cdf7536..cab240004f3 100644 --- a/service_container/definitions.rst +++ b/service_container/definitions.rst @@ -96,7 +96,7 @@ fetched from the container:: .. caution:: Don't use ``get()`` to get a service that you want to inject as constructor - argument, the service is not yet availabe. Instead, use a + argument, the service is not yet available. Instead, use a ``Reference`` instance as shown above. Method Calls diff --git a/service_container/service_decoration.rst b/service_container/service_decoration.rst index 59fe6cf0801..4bfdbd1f026 100644 --- a/service_container/service_decoration.rst +++ b/service_container/service_decoration.rst @@ -154,7 +154,7 @@ convention, the old ``app.mailer`` service is renamed to use Symfony\Component\DependencyInjection\Reference; - $container->register('app.decorating_mailer', 'AppBundle\DeocratingMailer') + $container->register('app.decorating_mailer', 'AppBundle\DecoratingMailer') ->setDecoratedService('foo', 'app.decorating_mailer.wooz') ->addArgument(new Reference('app.decorating_mailer.wooz')) // ... diff --git a/setup/web_server_configuration.rst b/setup/web_server_configuration.rst index e6a4a7f536f..0e3563fb7c2 100644 --- a/setup/web_server_configuration.rst +++ b/setup/web_server_configuration.rst @@ -50,7 +50,7 @@ The **minimum configuration** to get your application running under Apache is: # uncomment the following lines if you install assets as symlinks - # or run into problems when compiling LESS/Sass/CoffeScript assets + # or run into problems when compiling LESS/Sass/CoffeeScript assets # # Options FollowSymlinks # @@ -88,7 +88,7 @@ and increase web server performance: # uncomment the following lines if you install assets as symlinks - # or run into problems when compiling LESS/Sass/CoffeScript assets + # or run into problems when compiling LESS/Sass/CoffeeScript assets # # Options FollowSymlinks # @@ -200,7 +200,7 @@ directive to pass requests for PHP files to PHP FPM: # uncomment the following lines if you install assets as symlinks - # or run into problems when compiling LESS/Sass/CoffeScript assets + # or run into problems when compiling LESS/Sass/CoffeeScript assets # # Options FollowSymlinks # @@ -236,7 +236,7 @@ should look something like this: # uncomment the following lines if you install assets as symlinks - # or run into problems when compiling LESS/Sass/CoffeScript assets + # or run into problems when compiling LESS/Sass/CoffeeScript assets # # Options FollowSymlinks # diff --git a/templating.rst b/templating.rst index 1380fb67c7b..7e6ad161575 100644 --- a/templating.rst +++ b/templating.rst @@ -923,7 +923,7 @@ Suppose ``description`` equals ``I <3 this product``: .. code-block:: twig - + {{ description }}