Completed
Push — next ( d88af1...6a4fb5 )
by Thomas
21s queued 12s
created
htdocs_symfony/src/Controller/Backend/SupportController.php 2 patches
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -166,9 +166,9 @@  discard block
 block discarded – undo
166 166
 
167 167
         return $this->render(
168 168
             'backend/support/searchedCaches.html.twig', [
169
-                                                          'supportCachesForm' => $formSearch->createView(),
170
-                                                          'foundCaches' => $fetchedCaches
171
-                                                      ]
169
+                                                            'supportCachesForm' => $formSearch->createView(),
170
+                                                            'foundCaches' => $fetchedCaches
171
+                                                        ]
172 172
         );
173 173
     }
174 174
 
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
 
188 188
         return $this->render(
189 189
             'backend/support/reportedCaches.html.twig', [
190
-                                                          'supportCachesForm' => $formSearch->createView(),
191
-                                                          'reportedCaches_by_id' => $fetchedReports
192
-                                                      ]
190
+                                                            'supportCachesForm' => $formSearch->createView(),
191
+                                                            'reportedCaches_by_id' => $fetchedReports
192
+                                                        ]
193 193
         );
194 194
     }
195 195
 
@@ -207,9 +207,9 @@  discard block
 block discarded – undo
207 207
 
208 208
         return $this->render(
209 209
             'backend/support/bonusCaches.html.twig', [
210
-                                                       'supportCachesForm' => $formSearch->createView(),
211
-                                                       'bonusCaches_by_id' => $fetchedBonuscaches
212
-                                                   ]
210
+                                                        'supportCachesForm' => $formSearch->createView(),
211
+                                                        'bonusCaches_by_id' => $fetchedBonuscaches
212
+                                                    ]
213 213
         );
214 214
     }
215 215
 
@@ -250,10 +250,10 @@  discard block
 block discarded – undo
250 250
 
251 251
         return $this->render(
252 252
             'backend/support/databaseQueries.html.twig', [
253
-                                                           'supportCachesForm' => $formSearch->createView(),
254
-                                                           'SQLFlexForm' => $form->createView(),
255
-                                                           'suppSQLqueryFlex' => $fetchedInformation
256
-                                                       ]
253
+                                                            'supportCachesForm' => $formSearch->createView(),
254
+                                                            'SQLFlexForm' => $form->createView(),
255
+                                                            'suppSQLqueryFlex' => $fetchedInformation
256
+                                                        ]
257 257
         );
258 258
     }
259 259
 
@@ -381,16 +381,16 @@  discard block
 block discarded – undo
381 381
 
382 382
         return $this->render(
383 383
             'backend/support/occ.html.twig', [
384
-                                               'supportCachesForm' => $formSearch->createView(),
385
-                                               'supportCommentFormUser' => $formCommentUser->createView(),
386
-                                               'supportCommentFormCache' => $formCommentCache->createView(),
387
-                                               'occ_cache_data' => $fetchedCacheData,
388
-                                               'occ_cache_comments' => $fetchedCacheComments,
389
-                                               'occ_cache_infos' => $fetchedCacheInfos,
390
-                                               'occ_user_data' => $fetchedUserData,
391
-                                               'occ_user_comments' => $fetchedUserComments,
392
-                                               'occ_user_relations' => $fetchedUserRelations
393
-                                           ]
384
+                                                'supportCachesForm' => $formSearch->createView(),
385
+                                                'supportCommentFormUser' => $formCommentUser->createView(),
386
+                                                'supportCommentFormCache' => $formCommentCache->createView(),
387
+                                                'occ_cache_data' => $fetchedCacheData,
388
+                                                'occ_cache_comments' => $fetchedCacheComments,
389
+                                                'occ_cache_infos' => $fetchedCacheInfos,
390
+                                                'occ_user_data' => $fetchedUserData,
391
+                                                'occ_user_comments' => $fetchedUserComments,
392
+                                                'occ_user_relations' => $fetchedUserRelations
393
+                                            ]
394 394
         );
395 395
     }
396 396
 
@@ -514,10 +514,10 @@  discard block
 block discarded – undo
514 514
 
515 515
         return $this->render(
516 516
             'backend/support/userDetails.html.twig', [
517
-                                                       'supportCachesForm' => $formSearch->createView(),
518
-                                                       'supportUserAccountActions' => $formActions->createView(),
519
-                                                       'user_account_details' => $fetchedUserDetails
520
-                                                   ]
517
+                                                        'supportCachesForm' => $formSearch->createView(),
518
+                                                        'supportUserAccountActions' => $formActions->createView(),
519
+                                                        'user_account_details' => $fetchedUserDetails
520
+                                                    ]
521 521
         );
522 522
     }
523 523
 
@@ -608,9 +608,9 @@  discard block
 block discarded – undo
608 608
 
609 609
         return $this->render(
610 610
             'backend/support/databaseQueries.html.twig', [
611
-                                                           'supportCachesForm' => $formSearch->createView(),
612
-                                                           'suppSQLquery1' => $qb->execute()->fetchAll()
613
-                                                       ]
611
+                                                            'supportCachesForm' => $formSearch->createView(),
612
+                                                            'suppSQLquery1' => $qb->execute()->fetchAll()
613
+                                                        ]
614 614
         );
615 615
     }
616 616
 
@@ -634,9 +634,9 @@  discard block
 block discarded – undo
634 634
 
635 635
         return $this->render(
636 636
             'backend/support/databaseQueries.html.twig', [
637
-                                                           'supportCachesForm' => $formSearch->createView(),
638
-                                                           'suppSQLquery2' => $qb->execute()->fetchAll()
639
-                                                       ]
637
+                                                            'supportCachesForm' => $formSearch->createView(),
638
+                                                            'suppSQLquery2' => $qb->execute()->fetchAll()
639
+                                                        ]
640 640
         );
641 641
     }
642 642
 
@@ -662,9 +662,9 @@  discard block
 block discarded – undo
662 662
 
663 663
         return $this->render(
664 664
             'backend/support/databaseQueries.html.twig', [
665
-                                                           'supportCachesForm' => $formSearch->createView(),
666
-                                                           'suppSQLquery4' => $qb->execute()->fetchAll()
667
-                                                       ]
665
+                                                            'supportCachesForm' => $formSearch->createView(),
666
+                                                            'suppSQLquery4' => $qb->execute()->fetchAll()
667
+                                                        ]
668 668
         );
669 669
     }
670 670
 
@@ -680,9 +680,9 @@  discard block
 block discarded – undo
680 680
 
681 681
         return $this->render(
682 682
             'backend/support/databaseQueries.html.twig', [
683
-                                                           'supportCachesForm' => $formSearch->createView(),
684
-                                                           'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
685
-                                                       ]
683
+                                                            'supportCachesForm' => $formSearch->createView(),
684
+                                                            'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
685
+                                                        ]
686 686
         );
687 687
     }
688 688
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
             $fetchedInformation = $this->executeSQL_flexible($inputData['content_WHAT'], $inputData['content_TABLE']);
236 236
 
237 237
             $countFetched = count($fetchedInformation);
238
-            for ($i = 0; $i < $countFetched; $i ++) {
238
+            for ($i = 0; $i < $countFetched; $i++) {
239 239
                 if (array_key_exists('password', $fetchedInformation[$i])) {
240 240
                     $fetchedInformation[$i]['password'] = '-';
241 241
                 }
@@ -411,18 +411,18 @@  discard block
 block discarded – undo
411 411
             $inputData = $form->getData();
412 412
 
413 413
             if ($inputData['hidden_sender'] == 'textfield_cache_comment') {
414
-                $entity = $this->supportListingCommentsRepository->fetchOneBy(['wp_oc' => (string) $inputData['hidden_ID2']]);
414
+                $entity = $this->supportListingCommentsRepository->fetchOneBy(['wp_oc' => (string)$inputData['hidden_ID2']]);
415 415
                 $entity->comment = $inputData['content_comment_field'];
416 416
                 $this->supportListingCommentsRepository->update($entity);
417 417
             } elseif ($inputData['hidden_sender'] == 'textfield_user_comment') {
418
-                $entity = $this->supportUserCommentsRepository->fetchOneBy(['oc_user_id' => (int) $inputData['hidden_ID1']]);
418
+                $entity = $this->supportUserCommentsRepository->fetchOneBy(['oc_user_id' => (int)$inputData['hidden_ID1']]);
419 419
                 $entity->comment = $inputData['content_comment_field'];
420 420
                 $this->supportUserCommentsRepository->update($entity);
421 421
             }
422 422
 
423 423
             return $this->redirectToRoute('backend_support_occ', [
424
-                'userID' => (string) $inputData['hidden_ID1'],
425
-                'wpID' => (string) $inputData['hidden_ID2']
424
+                'userID' => (string)$inputData['hidden_ID1'],
425
+                'wpID' => (string)$inputData['hidden_ID2']
426 426
             ]);
427 427
         }
428 428
 
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
         if ($form->isSubmitted() && $form->isValid()) {
446 446
             $inputData = $form->getData();
447 447
 
448
-            $entity = $this->cacheReportsRepository->fetchOneBy(['id' => (int) $inputData['hidden_ID1']]);
448
+            $entity = $this->cacheReportsRepository->fetchOneBy(['id' => (int)$inputData['hidden_ID1']]);
449 449
             $entity->comment = $inputData['content_comment_field'];
450 450
 
451 451
             $this->cacheReportsRepository->update($entity);
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/UserRepository.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             $databaseArray
145 145
         );
146 146
 
147
-        $entity->id = (int) $this->connection->lastInsertId();
147
+        $entity->id = (int)$this->connection->lastInsertId();
148 148
 
149 149
         return $entity;
150 150
     }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             ['user_id' => $entity->id]
173 173
         );
174 174
 
175
-        $entity->id = (int) $this->connection->lastInsertId();
175
+        $entity->id = (int)$this->connection->lastInsertId();
176 176
 
177 177
         return $entity;
178 178
     }
@@ -249,16 +249,16 @@  discard block
 block discarded – undo
249 249
     public function getEntityFromDatabaseArray(array $data): UserEntity
250 250
     {
251 251
         $entity = new UserEntity();
252
-        $entity->id = (int) $data['user_id'];
253
-        $entity->dateCreated = (string) $data['date_created'];
254
-        $entity->lastModified = (string) $data['last_modified'];
252
+        $entity->id = (int)$data['user_id'];
253
+        $entity->dateCreated = (string)$data['date_created'];
254
+        $entity->lastModified = (string)$data['last_modified'];
255 255
         $entity->username = $data['username'];
256 256
         $entity->password = $data['password'];
257 257
         $entity->email = $data['email'];
258
-        $entity->emailProblems = (bool) $data['email_problems'];
259
-        $entity->latitude = (double) $data['latitude'];
260
-        $entity->longitude = (double) $data['longitude'];
261
-        $entity->isActive = (bool) $data['is_active_flag'];
258
+        $entity->emailProblems = (bool)$data['email_problems'];
259
+        $entity->latitude = (double)$data['latitude'];
260
+        $entity->longitude = (double)$data['longitude'];
261
+        $entity->isActive = (bool)$data['is_active_flag'];
262 262
         $entity->firstname = $data['first_name'];
263 263
         $entity->lastname = $data['last_name'];
264 264
         $entity->country = $data['country'];
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportUserAccountDetails.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -19,21 +19,21 @@
 block discarded – undo
19 19
         $builder
20 20
             ->add(
21 21
                 'button_account_inactive', SubmitType::class, [
22
-                                             'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
23
-                                             'label' => false
24
-                                         ]
22
+                                                'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
23
+                                                'label' => false
24
+                                            ]
25 25
             )
26 26
             ->add(
27 27
                 'button_GDPR_deletion', SubmitType::class, [
28
-                                          'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
29
-                                          'label' => false
30
-                                      ]
28
+                                            'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
29
+                                            'label' => false
30
+                                        ]
31 31
             )
32 32
             ->add(
33 33
                 'button_mark_email_invalid', SubmitType::class, [
34
-                                               'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
35
-                                               'label' => false
36
-                                           ]
34
+                                                'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
35
+                                                'label' => false
36
+                                            ]
37 37
             )
38 38
             ->add(
39 39
                 'check_Sure', CheckboxType::class, [
Please login to merge, or discard this patch.