Skip to content

Commit

Permalink
Merge branch '2.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jul 6, 2015
2 parents b3a32af + 2c1328e commit 11237e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cookbook/security/voters_data_permission.rst
Expand Up @@ -169,7 +169,7 @@ and tag it with ``security.voter``:
xsi:schemaLocation="http://symfony.com/schema/dic/services
http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="security.access.post_document_voter"
<service id="security.access.post_voter"
class="AppBundle\Security\Authorization\Voter\PostVoter"
public="false">
<tag name="security.voter" />
Expand All @@ -182,9 +182,10 @@ and tag it with ``security.voter``:
// src/AppBundle/Resources/config/services.php
$container
->register(
'security.access.post_document_voter',
'security.access.post_voter',
'AppBundle\Security\Authorization\Voter\PostVoter'
)
->setPublic(false)
->addTag('security.voter')
;
Expand Down
4 changes: 2 additions & 2 deletions create_framework/unit-testing.rst
Expand Up @@ -185,6 +185,6 @@ Symfony code.
Now that we are confident (again) about the code we have written, we can
safely think about the next batch of features we want to add to our framework.

.. _`PHPUnit`: http://www.phpunit.de/manual/current/en/index.html
.. _`test doubles`: http://www.phpunit.de/manual/current/en/test-doubles.html
.. _`PHPUnit`: http://phpunit.de/manual/current/en/index.html
.. _`test doubles`: http://phpunit.de/manual/current/en/test-doubles.html
.. _`XDebug`: http://xdebug.org/

0 comments on commit 11237e7

Please sign in to comment.