Passed
Pull Request — devel-3.0 (#1021)
by
unknown
04:23
created
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.
lib/SP/Services/Config/ConfigService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     public function saveBatch(ConfigRequest $configRequest)
99 99
     {
100 100
         try {
101
-            $this->transactionAware(function () use ($configRequest) {
101
+            $this->transactionAware(function() use ($configRequest) {
102 102
                 foreach ($configRequest->getData() as $param => $value) {
103 103
                     $this->save($param, $value);
104 104
                 }
Please login to merge, or discard this patch.
lib/SP/Services/Account/AccountCryptService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                 TaskFactory::update($taskId, TaskFactory::createMessage($taskId, __u('Actualizar Clave Maestra')));
78 78
             }
79 79
 
80
-            $eventMessage = $this->processAccounts($this->accountService->getAccountsPassData(), function ($request) {
80
+            $eventMessage = $this->processAccounts($this->accountService->getAccountsPassData(), function($request) {
81 81
                 $this->accountService->updatePasswordMasterPass($request);
82 82
             });
83 83
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
                 TaskFactory::update($taskId, TaskFactory::createMessage($taskId, __u('Actualizar Clave Maestra (H)')));
219 219
             }
220 220
 
221
-            $eventMessage = $this->processAccounts($this->accountHistoryService->getAccountsPassData(), function ($request) {
221
+            $eventMessage = $this->processAccounts($this->accountHistoryService->getAccountsPassData(), function($request) {
222 222
                 /** @var AccountPasswordRequest $request */
223 223
                 $request->hash = $this->request->getHash();
224 224
 
Please login to merge, or discard this patch.
lib/SP/Services/Upgrade/UpgradeCustomFieldData.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
         );
60 60
 
61 61
         try {
62
-            $this->transactionAware(function () {
62
+            $this->transactionAware(function() {
63 63
                 $customFieldService = $this->dic->get(CustomFieldService::class);
64 64
 
65 65
                 foreach ($customFieldService->getAll() as $item) {
Please login to merge, or discard this patch.
lib/SP/Services/Upgrade/UpgradeCustomFieldDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         );
62 62
 
63 63
         try {
64
-            $this->transactionAware(function () {
64
+            $this->transactionAware(function() {
65 65
                 $customFieldDefService = $this->dic->get(CustomFieldDefService::class);
66 66
 
67 67
                 $queryData = new QueryData();
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         );
142 142
 
143 143
         try {
144
-            $this->transactionAware(function () {
144
+            $this->transactionAware(function() {
145 145
                 $customFieldDefService = $this->dic->get(CustomFieldDefService::class);
146 146
 
147 147
                 foreach ($customFieldDefService->getAllBasic() as $item) {
Please login to merge, or discard this patch.
lib/SP/Services/Upgrade/UpgradePublicLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         );
59 59
 
60 60
         try {
61
-            $this->transactionAware(function () {
61
+            $this->transactionAware(function() {
62 62
                 $publicLinkService = $this->dic->get(PublicLinkService::class);
63 63
 
64 64
                 $queryData = new QueryData();
Please login to merge, or discard this patch.
lib/SP/Services/Upgrade/UpgradeConfigService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         $message = EventMessage::factory();
78 78
 
79 79
         if (isset($CONFIG) && is_array($CONFIG)) {
80
-            $paramMapper = function ($mapFrom, $mapTo) use ($CONFIG, $message, $configData) {
80
+            $paramMapper = function($mapFrom, $mapTo) use ($CONFIG, $message, $configData) {
81 81
                 if (isset($CONFIG[$mapFrom])) {
82 82
                     $message->addDetail(__u('Parámetro'), $mapFrom);
83 83
                     $configData->{$mapTo}($CONFIG[$mapFrom]);
Please login to merge, or discard this patch.