Skip to content

Commit 620be16

Browse files
committed
fix tests
1 parent 34eb12a commit 620be16

6 files changed

+7
-7
lines changed

Tests/DependencyInjection/Fixtures/Authenticator/CustomAuthenticator.php

+1-1
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

Tests/DependencyInjection/Fixtures/UserProvider/CustomProvider.php

+2-2
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()

Tests/DependencyInjection/Fixtures/xml/custom_authenticator_under_own_namespace.xml

+1-1
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>

Tests/DependencyInjection/Fixtures/xml/custom_authenticator_under_security_namespace.xml

+1-1
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>

Tests/DependencyInjection/Fixtures/xml/custom_provider_under_own_namespace.xml

+1-1
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>

Tests/DependencyInjection/Fixtures/xml/custom_provider_under_security_namespace.xml

+1-1
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)