Skip to content

Commit

Permalink
Merge branch '2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Nov 2, 2013
2 parents ae03fdb + fee90e9 commit 957bca4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions contributing/documentation/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ look and feel familiar, you should follow these standards.
Sphinx
------

* The following characters are choosen for different heading levels: level 1
* The following characters are chosen for different heading levels: level 1
is ``=``, level 2 ``-``, level 3 ``~``, level 4 ``.`` and level 5 ``"``;
* Each line should break approximately after the first word that crosses the
72nd character (so most lines end up being 72-78 characters);
* The ``::`` shorthand is *preferred* over ``.. code-block:: php`` to begin a PHP
code block (read `the Sphinx documentation`_ to see when you should use the
shorthand);
* Inline hyperlinks are **not** used. Seperate the link and their target
* Inline hyperlinks are **not** used. Separate the link and their target
definition, which you add on the bottom of the page;
* You should use a form of *you* instead of *we*.

Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/GreaterThan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ message

**type**: ``string`` **default**: ``This value should be greater than {{ compared_value }}``

This is the message that will be shown if the value is not greather than the
This is the message that will be shown if the value is not greater than the
comparison value.
14 changes: 7 additions & 7 deletions reference/constraints/Isbn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ on an object that will contain a ISBN number.

.. code-block:: yaml
# src/Acme/BookcaseBunlde/Resources/config/validation.yml
Acme\BookcaseBunlde\Entity\Book:
# src/Acme/BookcaseBundle/Resources/config/validation.yml
Acme\BookcaseBundle\Entity\Book:
properties:
isbn:
- Isbn:
Expand All @@ -42,7 +42,7 @@ on an object that will contain a ISBN number.
.. code-block:: php-annotations
// src/Acme/BookcaseBunlde/Entity/Book.php
// src/Acme/BookcaseBundle/Entity/Book.php
use Symfony\Component\Validator\Constraints as Assert;
class Book
Expand All @@ -59,8 +59,8 @@ on an object that will contain a ISBN number.
.. code-block:: xml
<!-- src/Acme/BookcaseBunlde/Resources/config/validation.xml -->
<class name="Acme\BookcaseBunlde\Entity\Book">
<!-- src/Acme/BookcaseBundle/Resources/config/validation.xml -->
<class name="Acme\BookcaseBundle\Entity\Book">
<property name="isbn">
<constraint name="Isbn">
<option name="isbn10">true</option>
Expand All @@ -72,8 +72,8 @@ on an object that will contain a ISBN number.
.. code-block:: php
// src/Acme/BookcaseBunlde/Entity/Book.php
namespace Acme\BookcaseBunlde\Entity;
// src/Acme/BookcaseBundle/Entity/Book.php
namespace Acme\BookcaseBundle\Entity;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Url.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Basic Usage
// src/Acme/BlogBundle/Entity/Author.php
namespace Acme\BlogBundle\Entity;
use Symfomy\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
class Author
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/entity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ These options inherit from the :doc:`choice </reference/forms/types/choice>` typ
.. note::

If you are working with a collection of Doctrine entities, it will be helpful
to read the documention for the :doc:`/reference/forms/types/collection`
to read the documentation for the :doc:`/reference/forms/types/collection`
as well. In addition, there is a complete example in the cookbook article
:doc:`/cookbook/form/form_collections`.

Expand Down

0 comments on commit 957bca4

Please sign in to comment.