Passed
Push — devel-3.0 ( e32256...e49526 )
by Rubén
04:31
created
lib/SP/Services/CustomField/CustomFieldDefService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public function delete($id)
103 103
     {
104
-        $this->transactionAware(function () use ($id) {
104
+        $this->transactionAware(function() use ($id) {
105 105
             $this->dic->get(CustomFieldService::class)
106 106
                 ->deleteCustomFieldDefinitionData($id);
107 107
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function deleteByIdBatch(array $ids)
124 124
     {
125
-        $this->transactionAware(function () use ($ids) {
125
+        $this->transactionAware(function() use ($ids) {
126 126
             $this->dic->get(CustomFieldService::class)
127 127
                 ->deleteCustomFieldDefinitionDataBatch($ids);
128 128
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function update(CustomFieldDefinitionData $itemData)
154 154
     {
155
-        return $this->transactionAware(function () use ($itemData) {
155
+        return $this->transactionAware(function() use ($itemData) {
156 156
             $customFieldDefinitionData = $this->getById($itemData->getId());
157 157
 
158 158
             // Delete the data used by the items using the previous definition
Please login to merge, or discard this patch.
lib/SP/Services/Crypt/TemporaryMasterPassService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
     {
194 194
         $mailMessage = $this->getMessageForEmail($key);
195 195
 
196
-        $emails = array_map(function ($value) {
196
+        $emails = array_map(function($value) {
197 197
             return $value->email;
198 198
         }, $this->dic->get(UserService::class)->getUserEmailForGroup($groupId));
199 199
 
Please login to merge, or discard this patch.
lib/SP/Services/Crypt/MasterPassService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      */
87 87
     public function changeMasterPassword(UpdateMasterPassRequest $request)
88 88
     {
89
-        $this->transactionAware(function () use ($request) {
89
+        $this->transactionAware(function() use ($request) {
90 90
             $this->accountCryptService->updateMasterPassword($request);
91 91
 
92 92
             $this->accountCryptService->updateHistoryMasterPassword($request);
Please login to merge, or discard this patch.
lib/SP/Services/User/UserPassService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,6 +262,6 @@
 block discarded – undo
262 262
     {
263 263
         $this->configData = $this->config->getConfigData();
264 264
         $this->userRepository = $this->dic->get(UserRepository::class);
265
-        $this->configService = $this->dic->get(ConfigService::class);;
265
+        $this->configService = $this->dic->get(ConfigService::class); ;
266 266
     }
267 267
 }
268 268
\ No newline at end of file
Please login to merge, or discard this patch.
lib/SP/Services/Ldap/LdapCheckService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             ];
81 81
         }
82 82
 
83
-        array_walk($data['results'], function ($value) use (&$data) {
83
+        array_walk($data['results'], function($value) use (&$data) {
84 84
             $data['count'] += count($value['items']);
85 85
         });
86 86
 
Please login to merge, or discard this patch.
lib/SP/Services/Import/ImportService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $this->importParams = $importParams;
60 60
         $this->fileImport = $fileImport;
61 61
 
62
-        return $this->transactionAware(function () {
62
+        return $this->transactionAware(function() {
63 63
             return $this->selectImportType()
64 64
                 ->doImport()
65 65
                 ->getCounter();
Please login to merge, or discard this patch.
lib/SP/Services/Import/SyspassImport.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     protected function processCategories()
172 172
     {
173 173
         $this->getNodesData('Categories', 'Category',
174
-            function (\DOMElement $category) {
174
+            function(\DOMElement $category) {
175 175
                 $categoryData = new CategoryData();
176 176
 
177 177
                 foreach ($category->childNodes as $node) {
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     protected function processClients()
211 211
     {
212 212
         $this->getNodesData('Clients', 'Client',
213
-            function (\DOMElement $client) {
213
+            function(\DOMElement $client) {
214 214
                 $clientData = new ClientData();
215 215
 
216 216
                 foreach ($client->childNodes as $node) {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     protected function processCustomers()
251 251
     {
252 252
         $this->getNodesData('Customers', 'Customer',
253
-            function (\DOMElement $client) {
253
+            function(\DOMElement $client) {
254 254
                 $clientData = new ClientData();
255 255
 
256 256
                 foreach ($client->childNodes as $node) {
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     protected function processTags()
290 290
     {
291 291
         $this->getNodesData('Tags', 'Tag',
292
-            function (\DOMElement $tag) {
292
+            function(\DOMElement $tag) {
293 293
                 $tagData = new TagData();
294 294
 
295 295
                 foreach ($tag->childNodes as $node) {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
     protected function processAccounts()
326 326
     {
327 327
         $this->getNodesData('Accounts', 'Account',
328
-            function (\DOMElement $account) {
328
+            function(\DOMElement $account) {
329 329
                 $accountRequest = new AccountRequest();
330 330
 
331 331
                 /** @var \DOMElement $node */
Please login to merge, or discard this patch.
lib/SP/Services/Import/XmlImportTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     public function setXmlDOM($xmlDOM)
47 47
     {
48
-        $this->xmlDOM =& $xmlDOM;
48
+        $this->xmlDOM = & $xmlDOM;
49 49
     }
50 50
 
51 51
     /**
Please login to merge, or discard this patch.
lib/SP/Services/AuthToken/AuthTokenService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
      */
233 233
     public function refreshAndUpdate(AuthTokenData $itemData)
234 234
     {
235
-        $this->transactionAware(function () use ($itemData) {
235
+        $this->transactionAware(function() use ($itemData) {
236 236
             $token = $this->generateToken();
237 237
             $vault = serialize($this->getSecureData($token, $itemData->getHash()));
238 238
 
Please login to merge, or discard this patch.