Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f502013

Browse files
committed
minor #58040 [SecurityBundle]  fix tests (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [SecurityBundle]  fix tests | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 6687a60 fix tests
2 parents 18ddf5c + 6687a60 commit f502013

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/Authenticator/CustomAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function getKey(): string
1818
return 'custom';
1919
}
2020

21-
public function addConfiguration(NodeDefinition $builder)
21+
public function addConfiguration(NodeDefinition $builder): void
2222
{
2323
}
2424

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/UserProvider/CustomProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class CustomProvider implements UserProviderFactoryInterface
1010
{
11-
public function create(ContainerBuilder $container, string $id, array $config)
11+
public function create(ContainerBuilder $container, string $id, array $config): void
1212
{
1313
}
1414

@@ -17,7 +17,7 @@ public function getKey(): string
1717
return 'custom';
1818
}
1919

20-
public function addConfiguration(NodeDefinition $builder)
20+
public function addConfiguration(NodeDefinition $builder): void
2121
{
2222
$builder
2323
->children()

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/xml/custom_authenticator_under_own_namespace.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://symfony.com/schema/dic/security
99
https://symfony.com/schema/dic/security/security-1.0.xsd">
1010

11-
<sec:config enable-authenticator-manager="true">
11+
<sec:config>
1212
<sec:firewall name="main">
1313
<custom xmlns="http://example.com/schema" />
1414
</sec:firewall>

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/xml/custom_authenticator_under_security_namespace.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://symfony.com/schema/dic/security
99
https://symfony.com/schema/dic/security/security-1.0.xsd">
1010

11-
<sec:config enable-authenticator-manager="true">
11+
<sec:config>
1212
<sec:firewall name="main">
1313
<sec:custom />
1414
</sec:firewall>

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/xml/custom_provider_under_own_namespace.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://symfony.com/schema/dic/security
99
https://symfony.com/schema/dic/security/security-1.0.xsd">
1010

11-
<sec:config enable-authenticator-manager="true">
11+
<sec:config>
1212
<sec:provider name="foo">
1313
<custom xmlns="http://example.com/schema" />
1414
</sec:provider>

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/xml/custom_provider_under_security_namespace.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://symfony.com/schema/dic/security
99
https://symfony.com/schema/dic/security/security-1.0.xsd">
1010

11-
<sec:config enable-authenticator-manager="true">
11+
<sec:config>
1212
<sec:provider name="foo">
1313
<sec:custom />
1414
</sec:provider>

0 commit comments

Comments
 (0)