Completed
Push — development ( dabdad...8bedf7 )
by Thomas
24s queued 11s
created
htdocs_symfony/src/Controller/Backend/SupportController.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -180,9 +180,9 @@  discard block
 block discarded – undo
180 180
 
181 181
         return $this->render(
182 182
             'backend/support/searchedCaches.html.twig', [
183
-                                                          'supportCachesForm' => $formSearch->createView(),
184
-                                                          'foundCaches' => $fetchedCaches
185
-                                                      ]
183
+                                                            'supportCachesForm' => $formSearch->createView(),
184
+                                                            'foundCaches' => $fetchedCaches
185
+                                                        ]
186 186
         );
187 187
     }
188 188
 
@@ -201,9 +201,9 @@  discard block
 block discarded – undo
201 201
 
202 202
         return $this->render(
203 203
             'backend/support/reportedCaches.html.twig', [
204
-                                                          'supportCachesForm' => $formSearch->createView(),
205
-                                                          'reportedCaches_by_id' => $fetchedReports
206
-                                                      ]
204
+                                                            'supportCachesForm' => $formSearch->createView(),
205
+                                                            'reportedCaches_by_id' => $fetchedReports
206
+                                                        ]
207 207
         );
208 208
     }
209 209
 
@@ -221,9 +221,9 @@  discard block
 block discarded – undo
221 221
 
222 222
         return $this->render(
223 223
             'backend/support/bonusCaches.html.twig', [
224
-                                                       'supportCachesForm' => $formSearch->createView(),
225
-                                                       'bonusCaches_by_id' => $fetchedBonuscaches
226
-                                                   ]
224
+                                                        'supportCachesForm' => $formSearch->createView(),
225
+                                                        'bonusCaches_by_id' => $fetchedBonuscaches
226
+                                                    ]
227 227
         );
228 228
     }
229 229
 
@@ -264,10 +264,10 @@  discard block
 block discarded – undo
264 264
 
265 265
         return $this->render(
266 266
             'backend/support/databaseQueries.html.twig', [
267
-                                                           'supportCachesForm' => $formSearch->createView(),
268
-                                                           'SQLFlexForm' => $formSQLFlex->createView(),
269
-                                                           'suppSQLqueryFlex' => $fetchedInformation
270
-                                                       ]
267
+                                                            'supportCachesForm' => $formSearch->createView(),
268
+                                                            'SQLFlexForm' => $formSQLFlex->createView(),
269
+                                                            'suppSQLqueryFlex' => $fetchedInformation
270
+                                                        ]
271 271
         );
272 272
     }
273 273
 
@@ -395,16 +395,16 @@  discard block
 block discarded – undo
395 395
 
396 396
         return $this->render(
397 397
             'backend/support/occ.html.twig', [
398
-                                               'supportCachesForm' => $formSearch->createView(),
399
-                                               'supportCommentFormUser' => $formCommentUser->createView(),
400
-                                               'supportCommentFormCache' => $formCommentCache->createView(),
401
-                                               'occ_cache_data' => $fetchedCacheData,
402
-                                               'occ_cache_comments' => $fetchedCacheComments,
403
-                                               'occ_cache_infos' => $fetchedCacheInfos,
404
-                                               'occ_user_data' => $fetchedUserData,
405
-                                               'occ_user_comments' => $fetchedUserComments,
406
-                                               'occ_user_relations' => $fetchedUserRelations
407
-                                           ]
398
+                                                'supportCachesForm' => $formSearch->createView(),
399
+                                                'supportCommentFormUser' => $formCommentUser->createView(),
400
+                                                'supportCommentFormCache' => $formCommentCache->createView(),
401
+                                                'occ_cache_data' => $fetchedCacheData,
402
+                                                'occ_cache_comments' => $fetchedCacheComments,
403
+                                                'occ_cache_infos' => $fetchedCacheInfos,
404
+                                                'occ_user_data' => $fetchedUserData,
405
+                                                'occ_user_comments' => $fetchedUserComments,
406
+                                                'occ_user_relations' => $fetchedUserRelations
407
+                                            ]
408 408
         );
409 409
     }
410 410
 
@@ -528,10 +528,10 @@  discard block
 block discarded – undo
528 528
 
529 529
         return $this->render(
530 530
             'backend/support/userDetails.html.twig', [
531
-                                                       'supportCachesForm' => $formSearch->createView(),
532
-                                                       'supportUserAccountActions' => $formActions->createView(),
533
-                                                       'user_account_details' => $fetchedUserDetails
534
-                                                   ]
531
+                                                        'supportCachesForm' => $formSearch->createView(),
532
+                                                        'supportUserAccountActions' => $formActions->createView(),
533
+                                                        'user_account_details' => $fetchedUserDetails
534
+                                                    ]
535 535
         );
536 536
     }
537 537
 
@@ -620,9 +620,9 @@  discard block
 block discarded – undo
620 620
 
621 621
         return $this->render(
622 622
             'backend/support/databaseQueries.html.twig', [
623
-                                                           'supportCachesForm' => $formSearch->createView(),
624
-                                                           'suppSQLquery1' => $qb->execute()->fetchAll()
625
-                                                       ]
623
+                                                            'supportCachesForm' => $formSearch->createView(),
624
+                                                            'suppSQLquery1' => $qb->execute()->fetchAll()
625
+                                                        ]
626 626
         );
627 627
     }
628 628
 
@@ -646,9 +646,9 @@  discard block
 block discarded – undo
646 646
 
647 647
         return $this->render(
648 648
             'backend/support/databaseQueries.html.twig', [
649
-                                                           'supportCachesForm' => $formSearch->createView(),
650
-                                                           'suppSQLquery2' => $qb->execute()->fetchAll()
651
-                                                       ]
649
+                                                            'supportCachesForm' => $formSearch->createView(),
650
+                                                            'suppSQLquery2' => $qb->execute()->fetchAll()
651
+                                                        ]
652 652
         );
653 653
     }
654 654
 
@@ -674,9 +674,9 @@  discard block
 block discarded – undo
674 674
 
675 675
         return $this->render(
676 676
             'backend/support/databaseQueries.html.twig', [
677
-                                                           'supportCachesForm' => $formSearch->createView(),
678
-                                                           'suppSQLquery4' => $qb->execute()->fetchAll()
679
-                                                       ]
677
+                                                            'supportCachesForm' => $formSearch->createView(),
678
+                                                            'suppSQLquery4' => $qb->execute()->fetchAll()
679
+                                                        ]
680 680
         );
681 681
     }
682 682
 
@@ -692,9 +692,9 @@  discard block
 block discarded – undo
692 692
 
693 693
         return $this->render(
694 694
             'backend/support/databaseQueries.html.twig', [
695
-                                                           'supportCachesForm' => $formSearch->createView(),
696
-                                                           'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
697
-                                                       ]
695
+                                                            'supportCachesForm' => $formSearch->createView(),
696
+                                                            'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
697
+                                                        ]
698 698
         );
699 699
     }
700 700
 
@@ -803,15 +803,15 @@  discard block
 block discarded – undo
803 803
 
804 804
         return $this->render(
805 805
             'backend/support/occ_gpx_import.html.twig', [
806
-                                                          'supportCachesForm' => $formSearch->createView(),
807
-                                                          'supportUploadGPXForm' => $formUpload->createView(),
808
-                                                          'amountProcessedCaches' => $amountProcessedCaches,
809
-                                                          'amountAssignedCaches' => $amountAssignedCaches,
810
-                                                          'amountUpdatedCaches' => $amountUpdatedCaches,
811
-                                                          'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
812
-                                                          'fetchedListingInfos' => $fetchedListingInfos,
813
-                                                          'differencesDetected' => $differencesDetected
814
-                                                      ]
806
+                                                            'supportCachesForm' => $formSearch->createView(),
807
+                                                            'supportUploadGPXForm' => $formUpload->createView(),
808
+                                                            'amountProcessedCaches' => $amountProcessedCaches,
809
+                                                            'amountAssignedCaches' => $amountAssignedCaches,
810
+                                                            'amountUpdatedCaches' => $amountUpdatedCaches,
811
+                                                            'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
812
+                                                            'fetchedListingInfos' => $fetchedListingInfos,
813
+                                                            'differencesDetected' => $differencesDetected
814
+                                                        ]
815 815
         );
816 816
     }
817 817
 
@@ -864,7 +864,7 @@  discard block
 block discarded – undo
864 864
 
865 865
             if ((($fetchedListingInfo->nodeListingAvailable == true) && ($fetchedOCCache->status != 1))
866 866
                 || (($fetchedListingInfo->nodeListingAvailable
867
-                     == false)
867
+                        == false)
868 868
                     && ($fetchedOCCache->status == 1))
869 869
             ) {
870 870
                 array_push($tempArray, 'OC status != import status');
@@ -874,7 +874,7 @@  discard block
 block discarded – undo
874 874
 
875 875
             if ((($fetchedListingInfo->nodeListingArchived == true) && ($fetchedOCCache->status != 3))
876 876
                 || (($fetchedListingInfo->nodeListingAvailable
877
-                     == false)
877
+                        == false)
878 878
                     && ($fetchedOCCache->status == 3))
879 879
             ) {
880 880
                 array_push($tempArray, 'OC status != import status');
@@ -973,11 +973,11 @@  discard block
 block discarded – undo
973 973
                     ] as $checkItem) {
974 974
                         if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) {
975 975
                             $newComment .= $checkItem
976
-                                           . ' changed from '
977
-                                           . $fetchedExistingSupportListingInfoArray[$checkItem]
978
-                                           . ' to '
979
-                                           . $wpt[$checkItem]
980
-                                           . PHP_EOL;
976
+                                            . ' changed from '
977
+                                            . $fetchedExistingSupportListingInfoArray[$checkItem]
978
+                                            . ' to '
979
+                                            . $wpt[$checkItem]
980
+                                            . PHP_EOL;
981 981
                         }
982 982
                     }
983 983
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportImportGPX.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -27,14 +27,14 @@  discard block
 block discarded – undo
27 27
                                 ],
28 28
                                 'constraints' => [
29 29
                                     new File([
30
-                                                 'maxSize' => '20480000',
31
-                                                 'mimeTypes' => [
32
-                                                     'application/gpx+xml',
33
-                                                     'application/xml',
34
-                                                     'text/xml',
35
-                                                 ],
36
-                                                 'mimeTypesMessage' => 'Please upload a valid GPX/XML document',
37
-                                             ])
30
+                                                    'maxSize' => '20480000',
31
+                                                    'mimeTypes' => [
32
+                                                        'application/gpx+xml',
33
+                                                        'application/xml',
34
+                                                        'text/xml',
35
+                                                    ],
36
+                                                    'mimeTypesMessage' => 'Please upload a valid GPX/XML document',
37
+                                                ])
38 38
                                 ],
39 39
                                 'multiple' => false,
40 40
                                 'required' => true,
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
             )
46 46
             ->add(
47 47
                 'start_upload', SubmitType::class, [
48
-                                  'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'],
49
-                                  'label' => '
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportSQLFlexForm.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -30,61 +30,61 @@
 block discarded – undo
30 30
             )
31 31
             ->add(
32 32
                 'content_WHAT', null, [
33
-                                  'required' => true,
34
-                                  'data' => '*',
35
-                                  'attr' => [
36
-                                      'style' => 'width: 180px;'
37
-                                  ],
38
-                                  'disabled' => false,
39
-                                  'label' => false,
40
-                                  'trim' => true
41
-                              ]
33
+                                    'required' => true,
34
+                                    'data' => '*',
35
+                                    'attr' => [
36
+                                        'style' => 'width: 180px;'
37
+                                    ],
38
+                                    'disabled' => false,
39
+                                    'label' => false,
40
+                                    'trim' => true
41
+                                ]
42 42
             )
43 43
             ->add(
44 44
                 'content_FROM', ChoiceType::class, [
45
-                                  'choices' => ['FROM' => 'FROM'],
46
-                                  'attr' => [
47
-                                      'style' => 'width: 180px;'
48
-                                  ],
49
-                                  'disabled' => true,
50
-                                  'label' => false,
51
-                                  'trim' => true
52
-                              ]
45
+                                    'choices' => ['FROM' => 'FROM'],
46
+                                    'attr' => [
47
+                                        'style' => 'width: 180px;'
48
+                                    ],
49
+                                    'disabled' => true,
50
+                                    'label' => false,
51
+                                    'trim' => true
52
+                                ]
53 53
             )
54 54
             ->add(
55 55
                 'content_TABLE', ChoiceType::class, [
56
-                                   'choices' => ['caches' => 'caches', 'user' => 'user'],
57
-                                   'attr' => [
58
-                                       'style' => 'width: 180px;'
59
-                                   ],
60
-                                   'disabled' => false,
61
-                                   'label' => false,
62
-                                   'trim' => true
63
-                               ]
56
+                                    'choices' => ['caches' => 'caches', 'user' => 'user'],
57
+                                    'attr' => [
58
+                                        'style' => 'width: 180px;'
59
+                                    ],
60
+                                    'disabled' => false,
61
+                                    'label' => false,
62
+                                    'trim' => true
63
+                                ]
64 64
             )
65 65
             ->add(
66 66
                 'content_WHERE', ChoiceType::class, [
67
-                                  'choices' => ['WHERE' => 'WHERE'],
68
-                                  'attr' => [
69
-                                      'style' => 'width: 180px;'
70
-                                  ],
71
-                                  'disabled' => true,
72
-                                  'label' => false,
73
-                                  'trim' => true
74
-                              ]
67
+                                    'choices' => ['WHERE' => 'WHERE'],
68
+                                    'attr' => [
69
+                                        'style' => 'width: 180px;'
70
+                                    ],
71
+                                    'disabled' => true,
72
+                                    'label' => false,
73
+                                    'trim' => true
74
+                                ]
75 75
             )
76 76
             ->add(
77 77
                 'content_CONDITION', null, [
78
-                                  'required' => false,
79
-                                  'data' => '',
80
-                                  'attr' => [
81
-                                      'placeholder' => 'id=\'123\'',
82
-                                      'style' => 'width: 180px;'
83
-                                  ],
84
-                                  'disabled' => false,
85
-                                  'label' => false,
86
-                                  'trim' => true
87
-                              ]
78
+                                    'required' => false,
79
+                                    'data' => '',
80
+                                    'attr' => [
81
+                                        'placeholder' => 'id=\'123\'',
82
+                                        'style' => 'width: 180px;'
83
+                                    ],
84
+                                    'disabled' => false,
85
+                                    'label' => false,
86
+                                    'trim' => true
87
+                                ]
88 88
             )
89 89
             ->add(
90 90
                 'Suchen', SubmitType::class, [
Please login to merge, or discard this patch.