Passed
Push — devel-3.0 ( 09ea81...3c7891 )
by Rubén
03:32
created
tests/SP/Core/Acl/AclTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,11 +107,11 @@
 block discarded – undo
107 107
             ActionsInterface::NOTIFICATION_CHECK,
108 108
         ], $actionsId);
109 109
 
110
-        $actionsFalse = array_filter($this->actionsProvider(), function ($action) use ($actionsMask) {
110
+        $actionsFalse = array_filter($this->actionsProvider(), function($action) use ($actionsMask) {
111 111
             return !in_array($action[0], $actionsMask);
112 112
         });
113 113
 
114
-        $actionsTrue = array_filter($this->actionsProvider(), function ($action) use ($actionsMask) {
114
+        $actionsTrue = array_filter($this->actionsProvider(), function($action) use ($actionsMask) {
115 115
             return in_array($action[0], $actionsMask);
116 116
         });
117 117
 
Please login to merge, or discard this patch.
tests/SP/Services/Api/ApiServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         // Inicializar el servicio
71 71
         self::$service = $dic->get(ApiService::class);
72 72
 
73
-        self::$changeRequest = function (string $request) use ($dic) {
73
+        self::$changeRequest = function(string $request) use ($dic) {
74 74
             $dic->set(ApiRequest::class, new ApiRequest($request));
75 75
         };
76 76
     }
Please login to merge, or discard this patch.
tests/SP/Services/User/UserPassServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         // Inicializar el servicio
73 73
         self::$service = $dic->get(UserPassService::class);
74 74
 
75
-        self::$getUserLoginResponse = function ($login) use ($dic) {
75
+        self::$getUserLoginResponse = function($login) use ($dic) {
76 76
             return UserService::mapUserLoginResponse($dic->get(UserService::class)->getByLogin($login));
77 77
         };
78 78
     }
Please login to merge, or discard this patch.
tests/SP/Services/UserPassRecover/UserPassRecoverServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * @throws ServiceException
84 84
      * @throws \SP\Core\Exceptions\SPException
85 85
      */
86
-    public function testToggleUsedByHashExpired ()
86
+    public function testToggleUsedByHashExpired()
87 87
     {
88 88
         $this->expectException(ServiceException::class);
89 89
 
Please login to merge, or discard this patch.
tests/SP/Services/UserGroup/UserGroupServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
 
195 195
         $this->assertCount(1, self::$service->getUsage(3));
196 196
 
197
-        $this->assertCount(0,  self::$service->getUsage(4));
197
+        $this->assertCount(0, self::$service->getUsage(4));
198 198
     }
199 199
 
200 200
     /**
Please login to merge, or discard this patch.
tests/SP/Services/Account/AccountSearchServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
         $context = $dic->get(ContextInterface::class);
72 72
 
73
-        self::$setupUser = function (UserLoginResponse $response) use ($context) {
73
+        self::$setupUser = function(UserLoginResponse $response) use ($context) {
74 74
             $response->setLastUpdate(time());
75 75
 
76 76
             $context->setUserData($response);
Please login to merge, or discard this patch.
tests/SP/Services/Account/AccountAclServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 
96 96
         // Es necesario utilizar una función anónima para evitar la fijación
97 97
         // de los datos del contexto
98
-        self::$service = function () use ($dic) {
98
+        self::$service = function() use ($dic) {
99 99
             return new AccountAclService($dic);
100 100
         };
101 101
 
Please login to merge, or discard this patch.
tests/SP/Services/Client/ClientServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         // Inicializar el servicio
71 71
         self::$service = $dic->get(ClientService::class);
72 72
 
73
-        self::$setupUser = function (UserLoginResponse $response) use ($dic) {
73
+        self::$setupUser = function(UserLoginResponse $response) use ($dic) {
74 74
             $response->setLastUpdate(time());
75 75
 
76 76
             $dic->get(ContextInterface::class)->setUserData($response);
Please login to merge, or discard this patch.
tests/SP/Repositories/AccountToUserRepositoryTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,13 +78,13 @@  discard block
 block discarded – undo
78 78
         $this->assertCount(1, $users);
79 79
         $this->assertInstanceOf(ItemData::class, $users[0]);
80 80
 
81
-        $usersView = array_filter($users, function ($user) {
81
+        $usersView = array_filter($users, function($user) {
82 82
             return (int)$user->isEdit === 0;
83 83
         });
84 84
 
85 85
         $this->assertCount(0, $usersView);
86 86
 
87
-        $usersEdit = array_filter($users, function ($user) {
87
+        $usersEdit = array_filter($users, function($user) {
88 88
             return (int)$user->isEdit === 1;
89 89
         });
90 90
 
@@ -95,13 +95,13 @@  discard block
 block discarded – undo
95 95
         $this->assertCount(1, $users);
96 96
         $this->assertInstanceOf(ItemData::class, $users[0]);
97 97
 
98
-        $usersView = array_filter($users, function ($user) {
98
+        $usersView = array_filter($users, function($user) {
99 99
             return (int)$user->isEdit === 0;
100 100
         });
101 101
 
102 102
         $this->assertCount(1, $usersView);
103 103
 
104
-        $usersEdit = array_filter($users, function ($user) {
104
+        $usersEdit = array_filter($users, function($user) {
105 105
             return (int)$user->isEdit === 1;
106 106
         });
107 107
 
Please login to merge, or discard this patch.