Skip to content

Commit 17963ff

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: skip interactive questions asked by Composer [SecurityBundle] Remove `AnonymousFactory` leftovers [Translation] Validate of pt_BR translation by a native speaker
2 parents 60ae6a3 + 76060fa commit 17963ff

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
$passthruOrFail("$COMPOSER require --no-update --no-interaction ".$SYMFONY_PHPUNIT_REQUIRE);
241241
}
242242
if (5.1 <= $PHPUNIT_VERSION && $PHPUNIT_VERSION < 5.4) {
243-
$passthruOrFail("$COMPOSER require --no-update phpunit/phpunit-mock-objects \"~3.1.0\"");
243+
$passthruOrFail("$COMPOSER require --no-update --no-interaction phpunit/phpunit-mock-objects \"~3.1.0\"");
244244
}
245245

246246
if (preg_match('{\^((\d++\.)\d++)[\d\.]*$}', $info['requires']['php'], $phpVersion) && version_compare($phpVersion[2].'99', \PHP_VERSION, '<')) {
@@ -256,13 +256,13 @@
256256
if (realpath($p) === realpath($path)) {
257257
$path = $p;
258258
}
259-
$passthruOrFail("$COMPOSER require --no-update symfony/phpunit-bridge \"*@dev\"");
259+
$passthruOrFail("$COMPOSER require --no-update --no-interaction symfony/phpunit-bridge \"*@dev\"");
260260
$passthruOrFail("$COMPOSER config repositories.phpunit-bridge path ".escapeshellarg(str_replace('/', \DIRECTORY_SEPARATOR, $path)));
261261
if ('\\' === \DIRECTORY_SEPARATOR) {
262262
file_put_contents('composer.json', preg_replace('/^( {8})"phpunit-bridge": \{$/m', "$0\n$1 ".'"options": {"symlink": false},', file_get_contents('composer.json')));
263263
}
264264
} else {
265-
$passthruOrFail("$COMPOSER require --no-update symfony/phpunit-bridge \"*\"");
265+
$passthruOrFail("$COMPOSER require --no-update --no-interaction symfony/phpunit-bridge \"*\"");
266266
}
267267
$prevRoot = getenv('COMPOSER_ROOT_VERSION');
268268
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99");

src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private function createFirewalls(array $config, ContainerBuilder $container): vo
319319
$authenticators[$name] = ServiceLocatorTagPass::register($container, $firewallAuthenticatorRefs);
320320
}
321321
$contextId = 'security.firewall.map.context.'.$name;
322-
$isLazy = !$firewall['stateless'] && (!empty($firewall['anonymous']['lazy']) || $firewall['lazy']);
322+
$isLazy = !$firewall['stateless'] && $firewall['lazy'];
323323
$context = new ChildDefinition($isLazy ? 'security.firewall.lazy_context' : 'security.firewall.context');
324324
$context = $container->setDefinition($contextId, $context);
325325
$context
@@ -681,7 +681,7 @@ private function getUserProvider(ContainerBuilder $container, string $id, array
681681
return $this->createMissingUserProvider($container, $id, $factoryKey);
682682
}
683683

684-
if ('remember_me' === $factoryKey || 'anonymous' === $factoryKey) {
684+
if ('remember_me' === $factoryKey) {
685685
return 'security.user_providers';
686686
}
687687

src/Symfony/Component/Validator/Resources/translations/validators.pt_BR.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468
</trans-unit>
469469
<trans-unit id="121">
470470
<source>This value is not a valid Twig template.</source>
471-
<target state="needs-review-translation">Este valor não é um modelo Twig válido.</target>
471+
<target>Este valor não é um modelo Twig válido.</target>
472472
</trans-unit>
473473
</body>
474474
</file>

0 commit comments

Comments
 (0)