Skip to content

Commit 9591c76

Browse files
committed
merge branch '2.1' into 2.2
* 2.1: fixed doc references (closes #7515) small changes [SecurityBundle] Fixed configuration exemple idAsIndex should be true with a smallint or bigint id field. Fixed long multibyte parameter logging in DbalLogger:startQuery Keep the file extension in the temporary copy and test that it exists (closes #7482) [Validator][translation][japanese]replaced period to japanese one [Validator][translation][japanese]fixed japanese translation to more practical one [Validator][translation][japanese]fixed message ordering to be consistent with other languages [Validator][translation][japanese]added new validation messages in japanese translation Conflicts: src/Symfony/Component/Validator/Resources/translations/validators.ja.xlf
2 parents 516be29 + 39868d4 commit 9591c76

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

DependencyInjection/MainConfiguration.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,16 +301,15 @@ private function addProvidersSection(ArrayNodeDefinition $rootNode)
301301
->children()
302302
->arrayNode('providers')
303303
->example(array(
304-
'memory' => array(
305-
'name' => 'memory',
304+
'my_memory_provider' => array(
306305
'memory' => array(
307306
'users' => array(
308307
'foo' => array('password' => 'foo', 'roles' => 'ROLE_USER'),
309308
'bar' => array('password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]')
310309
),
311310
)
312311
),
313-
'entity' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username'))
312+
'my_entity_provider' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username'))
314313
))
315314
->disallowNewKeysInSubsequentConfigs()
316315
->isRequired()

0 commit comments

Comments
 (0)