Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build errors #3544

Merged
merged 3 commits into from
Feb 11, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the third time you submit this change, could you please revert it, otherwise it'll cause conflicts

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this one is not related to the other ones before. Actually, this was added in #3416 which has already been merged. After that merged the empty_data option was added in ab4aafe to the overriden options sections which makes it necessary to remove it now from the inherited options section.


.. 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`).