@@ -12,10 +12,10 @@ |
||
12 | 12 | { |
13 | 13 | public function loadInternal(array $configs, ContainerBuilder $container) |
14 | 14 | { |
15 | - $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
15 | + $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
16 | 16 | $loader->load('services.php'); |
17 | 17 | foreach ($configs as $key => $value) { |
18 | - $container->setParameter('karser_recaptcha3.'.$key, $value); |
|
18 | + $container->setParameter('karser_recaptcha3.' . $key, $value); |
|
19 | 19 | } |
20 | 20 | } |
21 | 21 |
@@ -11,7 +11,7 @@ |
||
11 | 11 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
12 | 12 | use function Symfony\Component\DependencyInjection\Loader\Configurator\ref; |
13 | 13 | |
14 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
14 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
15 | 15 | $services = $containerConfigurator->services(); |
16 | 16 | |
17 | 17 | $services->set('karser_recaptcha3.form.type', Recaptcha3Type::class) |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $this->validator->validate($testToken, new Recaptcha3(['message' => 'myMessage', 'messageMissingValue' => 'myMessage'])); |
61 | 61 | |
62 | 62 | $this->buildViolation('myMessage') |
63 | - ->setParameter('{{ value }}', '"'.$testToken.'"') |
|
63 | + ->setParameter('{{ value }}', '"' . $testToken . '"') |
|
64 | 64 | ->setCode(Recaptcha3::INVALID_FORMAT_ERROR) |
65 | 65 | ->assertRaised(); |
66 | 66 | } |