Test Failed
Push — master ( 27b12b...2b10ba )
by Chauncey
02:11
created
src/Charcoal/User/ServiceProvider/AuthServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
              * @param  Container $container The Pimple DI Container.
32 32
              * @return Authenticator
33 33
              */
34
-            $container['authenticator'] = function (Container $container) {
34
+            $container['authenticator'] = function(Container $container) {
35 35
                 return new Authenticator([
36 36
                     'logger'        => $container['logger'],
37 37
                     'user_type'     => User::class,
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
              * @param  Container $container The Pimple DI container.
48 48
              * @return Authorizer
49 49
              */
50
-            $container['authorizer'] = function (Container $container) {
50
+            $container['authorizer'] = function(Container $container) {
51 51
                 return new Authorizer([
52 52
                     'logger'    => $container['logger'],
53 53
                     'acl'       => $container['authorizer/acl'],
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             /**
61 61
              * @return Acl
62 62
              */
63
-            $container['authorizer/acl'] = function () {
63
+            $container['authorizer/acl'] = function() {
64 64
                 return new Acl();
65 65
             };
66 66
         }
Please login to merge, or discard this patch.
src/Charcoal/User/AbstractUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
      * @param  ValidatorInterface $v Optional. A custom validator object to use for validation. If null, use object's.
473 473
      * @return boolean
474 474
      */
475
-    public function validate(ValidatorInterface &$v = null)
475
+    public function validate(ValidatorInterface&$v = null)
476 476
     {
477 477
         $result = parent::validate($v);
478 478
 
Please login to merge, or discard this patch.
src/Charcoal/User/Acl/Manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param  string $resource    The Acl resource (string identifier) to load roles and permissions into.
38 38
      * @return void
39 39
      */
40
-    public function loadPermissions(Acl &$acl, array $permissions, $resource = '')
40
+    public function loadPermissions(Acl&$acl, array $permissions, $resource = '')
41 41
     {
42 42
         foreach ($permissions as $role => $rolePermissions) {
43 43
             $this->addRoleAndPermissions($acl, $role, $rolePermissions, $resource);
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @param  string $resource The Acl resource (string identifier) to load roles and permissions into.
52 52
      * @return void
53 53
      */
54
-    public function loadDatabasePermissions(Acl &$acl, PDO $dbh, $table, $resource = '')
54
+    public function loadDatabasePermissions(Acl&$acl, PDO $dbh, $table, $resource = '')
55 55
     {
56 56
         // Quick-and-dirty sanitization
57 57
         $table = preg_replace('/[^A-Za-z0-9_]/', '', $table);
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * @param  string $resource    The Acl resource (string identifier) to add roles and permissions into.
82 82
      * @return void
83 83
      */
84
-    private function addRoleAndPermissions(Acl &$acl, $role, array $permissions, $resource)
84
+    private function addRoleAndPermissions(Acl&$acl, $role, array $permissions, $resource)
85 85
     {
86 86
         if (!$acl->hasRole($role)) {
87 87
             // Add role
Please login to merge, or discard this patch.