Skip to content

Commit

Permalink
bug #3544 Fix build errors (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Fix build errors

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.5
| Fixed tickets |

Commits
-------

46e0b52 remove empty_data from the list of inherited options, it's documented in the overriden options section
7e3c0e3 readd configuration block
64602c8 fix referenced documents names
  • Loading branch information
weaverryan committed Feb 11, 2014
2 parents bdc6c3f + 46e0b52 commit 642e776
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ is available by calling the PHP function :phpfunction:`hash_algos`.
.. tip::

It's also possible to use different hashing algorithms on a user-by-user
basis. See :doc:`/cookbook/security/named-encoders` for more details.
basis. See :doc:`/cookbook/security/named_encoders` for more details.

Determining the Hashed Password
...............................
Expand Down
6 changes: 5 additions & 1 deletion cookbook/security/named_encoders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ How to Choose the Password Encoder Algorithm Dynamically
Usually, the same password encoder is used for all users by configuring it
to apply to all instances of a specific class:

.. configuration-block::

.. code-block:: yaml
# app/config/security.yml
security:
# ...
Expand Down Expand Up @@ -117,7 +121,7 @@ the name of the encoder to use::
if ($this->isAdmin()) {
return 'harsh';
}

return null; // use the default encoder
}
}
2 changes: 0 additions & 2 deletions reference/forms/types/checkbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:

.. include:: /reference/forms/types/options/data.rst.inc

.. include:: /reference/forms/types/options/empty_data.rst.inc

.. include:: /reference/forms/types/options/required.rst.inc

.. include:: /reference/forms/types/options/label.rst.inc
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,4 @@ error_bubbling

.. include:: /reference/forms/types/options/mapped.rst.inc

.. include:: /reference/forms/type/options/cascade_validation.rst.inc
.. include:: /reference/forms/types/options/cascade_validation.rst.inc
2 changes: 1 addition & 1 deletion reference/forms/types/options/checkbox_empty_data.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ empty_data
This option determines what value the field will return when the ``empty_value``
choice is selected.
In checkbox, the value of ``empty_data`` is overriden by the value returned by
the data transformer (see :doc:`/cookbook/form/data_transformers.rst`).
the data transformer (see :doc:`/cookbook/form/data_transformers`).

0 comments on commit 642e776

Please sign in to comment.