Completed
Push — master ( 7050ad...b7b944 )
by John
13s
created
src/Authentication/JwtAuthenticationToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\JwtBundle package.
4 4
  *
Please login to merge, or discard this patch.
src/Authentication/JwtAuthenticationProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\JwtBundle package.
4 4
  *
Please login to merge, or discard this patch.
src/Authentication/JwtAuthenticatedToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\JwtBundle package.
4 4
  *
Please login to merge, or discard this patch.
src/DependencyInjection/KleijnWebJwtExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\JwtBundle package.
4 4
  *
@@ -27,14 +27,14 @@  discard block
 block discarded – undo
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29 29
         $config = $this->processConfiguration(new Configuration(), $configs);
30
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
30
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31 31
         $loader->load('services.yml');
32 32
 
33 33
         $keys = [];
34 34
 
35 35
         foreach ($config['keys'] as $keyId => $keyConfig) {
36 36
             $keyConfig['kid'] = $keyId;
37
-            $keyDefinition    = new Definition('jwt.keys.' . $keyId);
37
+            $keyDefinition    = new Definition('jwt.keys.'.$keyId);
38 38
             $keyDefinition->setClass(JwtKey::class);
39 39
 
40 40
             if (isset($keyConfig['loader'])) {
Please login to merge, or discard this patch.
src/DependencyInjection/JwtAuthenticationFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,12 +45,12 @@
 block discarded – undo
45 45
             ? ChildDefinition::class
46 46
             : DefinitionDecorator::class;
47 47
 
48
-        $providerId           = 'security.authentication.provider.jwt.' . $id;
48
+        $providerId = 'security.authentication.provider.jwt.'.$id;
49 49
         $container
50 50
             ->setDefinition($providerId, new $childDefinitionClass('jwt.security.authentication.provider'))
51 51
             ->replaceArgument(0, new Reference($userProvider));
52 52
 
53
-        $listenerId = 'security.authentication.listener.jwt.' . $id;
53
+        $listenerId = 'security.authentication.listener.jwt.'.$id;
54 54
         $container->setDefinition($listenerId, new $childDefinitionClass('jwt.security.authentication.listener'));
55 55
 
56 56
         return [$providerId, $listenerId, $defaultEntryPoint];
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\JwtBundle package.
4 4
  *
Please login to merge, or discard this patch.
src/KleijnWebJwtBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\JwtBundle package.
4 4
  *
Please login to merge, or discard this patch.