Passed
Pull Request — master (#3)
by Dmitrii
03:28
created
Tests/TestKernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
 
42 42
     public function getLogDir()
43 43
     {
44
-        return sys_get_temp_dir().'/KarserRecaptcha3Bundle/log';
44
+        return sys_get_temp_dir() . '/KarserRecaptcha3Bundle/log';
45 45
     }
46 46
 
47 47
     public function getCacheDir()
48 48
     {
49
-        return sys_get_temp_dir().'/KarserRecaptcha3Bundle/cache/'.$this->environment;
49
+        return sys_get_temp_dir() . '/KarserRecaptcha3Bundle/cache/' . $this->environment;
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
DependencyInjection/KarserRecaptcha3Extension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 {
12 12
     public function loadInternal(array $configs, ContainerBuilder $container)
13 13
     {
14
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
14
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
15 15
         $loader->load('services.yml');
16 16
         foreach ($configs as $key => $value) {
17
-            $container->setParameter('karser_recaptcha3.'.$key, $value);
17
+            $container->setParameter('karser_recaptcha3.' . $key, $value);
18 18
         }
19 19
         $this->injectTemplate($container);
20 20
     }
Please login to merge, or discard this patch.
Tests/Validator/Constraints/Recaptcha3ValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $this->validator->validate($testToken, new Recaptcha3(['message' => 'myMessage']));
63 63
 
64 64
         $this->buildViolation('myMessage')
65
-            ->setParameter('{{ value }}', '"'.$testToken.'"')
65
+            ->setParameter('{{ value }}', '"' . $testToken . '"')
66 66
             ->setCode(Recaptcha3::INVALID_FORMAT_ERROR)
67 67
             ->assertRaised();
68 68
     }
Please login to merge, or discard this patch.