Skip to content

Commit 2c1328e

Browse files
committed
Merge branch '2.7' into 2.8
2 parents cb482dc + 4df1ea8 commit 2c1328e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: cookbook/security/voters_data_permission.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ and tag it with ``security.voter``:
169169
xsi:schemaLocation="http://symfony.com/schema/dic/services
170170
http://symfony.com/schema/dic/services/services-1.0.xsd">
171171
<services>
172-
<service id="security.access.post_document_voter"
172+
<service id="security.access.post_voter"
173173
class="AppBundle\Security\Authorization\Voter\PostVoter"
174174
public="false">
175175
<tag name="security.voter" />
@@ -182,9 +182,10 @@ and tag it with ``security.voter``:
182182
// src/AppBundle/Resources/config/services.php
183183
$container
184184
->register(
185-
'security.access.post_document_voter',
185+
'security.access.post_voter',
186186
'AppBundle\Security\Authorization\Voter\PostVoter'
187187
)
188+
->setPublic(false)
188189
->addTag('security.voter')
189190
;
190191

Diff for: create_framework/unit-testing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@ Symfony code.
185185
Now that we are confident (again) about the code we have written, we can
186186
safely think about the next batch of features we want to add to our framework.
187187

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

0 commit comments

Comments
 (0)