Passed
Branch master (da5357)
by Michael
14:55
created
Category
DependencyInjection/Security/UserProvider/InMemoryApiFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
                             ->scalarNode('password')->defaultValue(uniqid('', true))->end()
76 76
                             ->arrayNode('roles')
77 77
                                 ->beforeNormalization()->ifString()->then(
78
-                                    function ($v) {
78
+                                    function($v) {
79 79
                                         return preg_split('/\s*,\s*/', $v);
80 80
                                     }
81 81
                                 )
Please login to merge, or discard this patch.
Tests/Security/Authentication/SimplePreAuthenticatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $request = new Request();
42 42
         $headerBag = new HeaderBag();
43 43
         $headerBag->add(['keyName' => 'abcd']);
44
-        $request->headers =$headerBag;
44
+        $request->headers = $headerBag;
45 45
 
46 46
         $simplePreAuthenticator = new SimplePreAuthenticator('keyName', 'header');
47 47
         $simplePreAuthenticator->createToken($request, $this->anything());
Please login to merge, or discard this patch.