Completed
Pull Request — development (#841)
by
unknown
01:00
created
htdocs_symfony/src/Controller/App/KitchensinkController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function index(): Response
15 15
     {
16
-       return $this->render('kitchensink/index.html.twig');
16
+        return $this->render('kitchensink/index.html.twig');
17 17
     }
18 18
 
19 19
     /**
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportSearchCaches.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -19,19 +19,19 @@
 block discarded – undo
19 19
         $builder
20 20
             ->add(
21 21
                 'content_support_searchfield', null, [
22
-                                                 'attr' => [
23
-                                                     'placeholder' => 'OC / GC / Name / Owner / %%%',
24
-                                                     'autofocus' => 'autofocus',
25
-                                                     'size' => '10%',
26
-                                                     'minlength' => '3',
27
-                                                     'maxlength' => '100',
28
-                                                     'style' => 'width: 250px;'
29
-                                                 ],
30
-                                                 'required' => true,
31
-                                                 'disabled' => false,
32
-                                                 'label' => false,
33
-                                                 'trim' => true
34
-                                             ]
22
+                                                    'attr' => [
23
+                                                        'placeholder' => 'OC / GC / Name / Owner / %%%',
24
+                                                        'autofocus' => 'autofocus',
25
+                                                        'size' => '10%',
26
+                                                        'minlength' => '3',
27
+                                                        'maxlength' => '100',
28
+                                                        'style' => 'width: 250px;'
29
+                                                    ],
30
+                                                    'required' => true,
31
+                                                    'disabled' => false,
32
+                                                    'label' => false,
33
+                                                    'trim' => true
34
+                                                ]
35 35
             )
36 36
             ->add(
37 37
                 'search_All', SubmitType::class, [
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportSQLFlexForm.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -31,37 +31,37 @@
 block discarded – undo
31 31
             )
32 32
             ->add(
33 33
                 'content_WHAT', null, [
34
-                                  'required' => true,
35
-                                  'data' => '*',
36
-                                  'attr' => [
37
-                                      'style' => 'width: 180px;'
38
-                                  ],
39
-                                  'disabled' => false,
40
-                                  'label' => false,
41
-                                  'trim' => true
42
-                              ]
34
+                                    'required' => true,
35
+                                    'data' => '*',
36
+                                    'attr' => [
37
+                                        'style' => 'width: 180px;'
38
+                                    ],
39
+                                    'disabled' => false,
40
+                                    'label' => false,
41
+                                    'trim' => true
42
+                                ]
43 43
             )
44 44
             ->add(
45 45
                 'content_FROM', ChoiceType::class, [
46
-                                  'choices' => ['FROM' => 'FROM'],
47
-                                  'attr' => [
48
-                                      'style' => 'width: 180px;'
49
-                                  ],
50
-                                  'disabled' => true,
51
-                                  'label' => false,
52
-                                  'trim' => true
53
-                              ]
46
+                                    'choices' => ['FROM' => 'FROM'],
47
+                                    'attr' => [
48
+                                        'style' => 'width: 180px;'
49
+                                    ],
50
+                                    'disabled' => true,
51
+                                    'label' => false,
52
+                                    'trim' => true
53
+                                ]
54 54
             )
55 55
             ->add(
56 56
                 'content_TABLE', ChoiceType::class, [
57
-                                   'choices' => ['caches' => 'caches', 'user' => 'user'],
58
-                                   'attr' => [
59
-                                       'style' => 'width: 180px;'
60
-                                   ],
61
-                                   'disabled' => false,
62
-                                   'label' => false,
63
-                                   'trim' => true
64
-                               ]
57
+                                    'choices' => ['caches' => 'caches', 'user' => 'user'],
58
+                                    'attr' => [
59
+                                        'style' => 'width: 180px;'
60
+                                    ],
61
+                                    'disabled' => false,
62
+                                    'label' => false,
63
+                                    'trim' => true
64
+                                ]
65 65
             )
66 66
             ->add(
67 67
                 'Suchen', SubmitType::class, [
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.
htdocs_symfony/src/Controller/Backend/SupportController.php 1 patch
Indentation   +64 added lines, -64 removed lines patch added patch discarded remove patch
@@ -184,9 +184,9 @@  discard block
 block discarded – undo
184 184
 
185 185
         return $this->render(
186 186
             'backend/support/searchedCaches.html.twig', [
187
-                                                          'supportCachesForm' => $formSearch->createView(),
188
-                                                          'foundCaches' => $fetchedCaches
189
-                                                      ]
187
+                                                            'supportCachesForm' => $formSearch->createView(),
188
+                                                            'foundCaches' => $fetchedCaches
189
+                                                        ]
190 190
         );
191 191
     }
192 192
 
@@ -205,9 +205,9 @@  discard block
 block discarded – undo
205 205
 
206 206
         return $this->render(
207 207
             'backend/support/reportedCaches.html.twig', [
208
-                                                          'supportCachesForm' => $formSearch->createView(),
209
-                                                          'reportedCaches_by_id' => $fetchedReports
210
-                                                      ]
208
+                                                            'supportCachesForm' => $formSearch->createView(),
209
+                                                            'reportedCaches_by_id' => $fetchedReports
210
+                                                        ]
211 211
         );
212 212
     }
213 213
 
@@ -226,10 +226,10 @@  discard block
 block discarded – undo
226 226
 
227 227
         return $this->render(
228 228
             'backend/support/bonusCaches.html.twig', [
229
-                                                       'supportCachesForm' => $formSearch->createView(),
230
-                                                       'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(),
231
-                                                       'bonusCaches_by_id' => $fetchedBonuscaches
232
-                                                   ]
229
+                                                        'supportCachesForm' => $formSearch->createView(),
230
+                                                        'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(),
231
+                                                        'bonusCaches_by_id' => $fetchedBonuscaches
232
+                                                    ]
233 233
         );
234 234
     }
235 235
 
@@ -250,10 +250,10 @@  discard block
 block discarded – undo
250 250
 
251 251
         return $this->render(
252 252
             'backend/support/bonusCachesAssignment.html.twig', [
253
-                                                                 'supportCachesForm' => $formSearch->createView(),
254
-                                                                 'bonus_Cache' => $wpID,
255
-                                                                 'caches_by_owner' => $fetchedOwnerCaches
256
-                                                             ]
253
+                                                                    'supportCachesForm' => $formSearch->createView(),
254
+                                                                    'bonus_Cache' => $wpID,
255
+                                                                    'caches_by_owner' => $fetchedOwnerCaches
256
+                                                                ]
257 257
         );
258 258
     }
259 259
 
@@ -279,10 +279,10 @@  discard block
 block discarded – undo
279 279
 
280 280
         return $this->render(
281 281
             'backend/support/bonusCachesAssignment.html.twig', [
282
-                                                                 'supportCachesForm' => $formSearch->createView(),
283
-                                                                 'bonus_Cache' => $toBonusCache,
284
-                                                                 'caches_by_owner' => $fetchedOwnerCaches
285
-                                                             ]
282
+                                                                    'supportCachesForm' => $formSearch->createView(),
283
+                                                                    'bonus_Cache' => $toBonusCache,
284
+                                                                    'caches_by_owner' => $fetchedOwnerCaches
285
+                                                                ]
286 286
         );
287 287
     }
288 288
 
@@ -388,10 +388,10 @@  discard block
 block discarded – undo
388 388
 
389 389
         return $this->render(
390 390
             'backend/support/databaseQueries.html.twig', [
391
-                                                           'supportCachesForm' => $formSearch->createView(),
392
-                                                           'SQLFlexForm' => $form->createView(),
393
-                                                           'suppSQLqueryFlex' => $fetchedInformation
394
-                                                       ]
391
+                                                            'supportCachesForm' => $formSearch->createView(),
392
+                                                            'SQLFlexForm' => $form->createView(),
393
+                                                            'suppSQLqueryFlex' => $fetchedInformation
394
+                                                        ]
395 395
         );
396 396
     }
397 397
 
@@ -519,16 +519,16 @@  discard block
 block discarded – undo
519 519
 
520 520
         return $this->render(
521 521
             'backend/support/occ.html.twig', [
522
-                                               'supportCachesForm' => $formSearch->createView(),
523
-                                               'supportCommentFormUser' => $formCommentUser->createView(),
524
-                                               'supportCommentFormCache' => $formCommentCache->createView(),
525
-                                               'occ_cache_data' => $fetchedCacheData,
526
-                                               'occ_cache_comments' => $fetchedCacheComments,
527
-                                               'occ_cache_infos' => $fetchedCacheInfos,
528
-                                               'occ_user_data' => $fetchedUserData,
529
-                                               'occ_user_comments' => $fetchedUserComments,
530
-                                               'occ_user_relations' => $fetchedUserRelations
531
-                                           ]
522
+                                                'supportCachesForm' => $formSearch->createView(),
523
+                                                'supportCommentFormUser' => $formCommentUser->createView(),
524
+                                                'supportCommentFormCache' => $formCommentCache->createView(),
525
+                                                'occ_cache_data' => $fetchedCacheData,
526
+                                                'occ_cache_comments' => $fetchedCacheComments,
527
+                                                'occ_cache_infos' => $fetchedCacheInfos,
528
+                                                'occ_user_data' => $fetchedUserData,
529
+                                                'occ_user_comments' => $fetchedUserComments,
530
+                                                'occ_user_relations' => $fetchedUserRelations
531
+                                            ]
532 532
         );
533 533
     }
534 534
 
@@ -652,10 +652,10 @@  discard block
 block discarded – undo
652 652
 
653 653
         return $this->render(
654 654
             'backend/support/userDetails.html.twig', [
655
-                                                       'supportCachesForm' => $formSearch->createView(),
656
-                                                       'supportUserAccountActions' => $formActions->createView(),
657
-                                                       'user_account_details' => $fetchedUserDetails
658
-                                                   ]
655
+                                                        'supportCachesForm' => $formSearch->createView(),
656
+                                                        'supportUserAccountActions' => $formActions->createView(),
657
+                                                        'user_account_details' => $fetchedUserDetails
658
+                                                    ]
659 659
         );
660 660
     }
661 661
 
@@ -744,9 +744,9 @@  discard block
 block discarded – undo
744 744
 
745 745
         return $this->render(
746 746
             'backend/support/databaseQueries.html.twig', [
747
-                                                           'supportCachesForm' => $formSearch->createView(),
748
-                                                           'suppSQLquery1' => $qb->execute()->fetchAll()
749
-                                                       ]
747
+                                                            'supportCachesForm' => $formSearch->createView(),
748
+                                                            'suppSQLquery1' => $qb->execute()->fetchAll()
749
+                                                        ]
750 750
         );
751 751
     }
752 752
 
@@ -770,9 +770,9 @@  discard block
 block discarded – undo
770 770
 
771 771
         return $this->render(
772 772
             'backend/support/databaseQueries.html.twig', [
773
-                                                           'supportCachesForm' => $formSearch->createView(),
774
-                                                           'suppSQLquery2' => $qb->execute()->fetchAll()
775
-                                                       ]
773
+                                                            'supportCachesForm' => $formSearch->createView(),
774
+                                                            'suppSQLquery2' => $qb->execute()->fetchAll()
775
+                                                        ]
776 776
         );
777 777
     }
778 778
 
@@ -798,9 +798,9 @@  discard block
 block discarded – undo
798 798
 
799 799
         return $this->render(
800 800
             'backend/support/databaseQueries.html.twig', [
801
-                                                           'supportCachesForm' => $formSearch->createView(),
802
-                                                           'suppSQLquery4' => $qb->execute()->fetchAll()
803
-                                                       ]
801
+                                                            'supportCachesForm' => $formSearch->createView(),
802
+                                                            'suppSQLquery4' => $qb->execute()->fetchAll()
803
+                                                        ]
804 804
         );
805 805
     }
806 806
 
@@ -816,9 +816,9 @@  discard block
 block discarded – undo
816 816
 
817 817
         return $this->render(
818 818
             'backend/support/databaseQueries.html.twig', [
819
-                                                           'supportCachesForm' => $formSearch->createView(),
820
-                                                           'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
821
-                                                       ]
819
+                                                            'supportCachesForm' => $formSearch->createView(),
820
+                                                            'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
821
+                                                        ]
822 822
         );
823 823
     }
824 824
 
@@ -923,15 +923,15 @@  discard block
 block discarded – undo
923 923
 
924 924
         return $this->render(
925 925
             'backend/support/occ_gpx_import.html.twig', [
926
-                                                          'supportCachesForm' => $formSearch->createView(),
927
-                                                          'supportUploadGPXForm' => $formUpload->createView(),
928
-                                                          'amountProcessedCaches' => $amountProcessedCaches,
929
-                                                          'amountAssignedCaches' => $amountAssignedCaches,
930
-                                                          'amountUpdatedCaches' => $amountUpdatedCaches,
931
-                                                          'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
932
-                                                          'fetchedListingInfos' => $fetchedListingInfos,
933
-                                                          'differencesDetected' => $differencesDetected
934
-                                                      ]
926
+                                                            'supportCachesForm' => $formSearch->createView(),
927
+                                                            'supportUploadGPXForm' => $formUpload->createView(),
928
+                                                            'amountProcessedCaches' => $amountProcessedCaches,
929
+                                                            'amountAssignedCaches' => $amountAssignedCaches,
930
+                                                            'amountUpdatedCaches' => $amountUpdatedCaches,
931
+                                                            'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
932
+                                                            'fetchedListingInfos' => $fetchedListingInfos,
933
+                                                            'differencesDetected' => $differencesDetected
934
+                                                        ]
935 935
         );
936 936
     }
937 937
 
@@ -984,7 +984,7 @@  discard block
 block discarded – undo
984 984
 
985 985
             if ((($fetchedListingInfo->nodeListingAvailable == true) && ($fetchedOCCache->status != 1))
986 986
                 || (($fetchedListingInfo->nodeListingAvailable
987
-                     == false)
987
+                        == false)
988 988
                     && ($fetchedOCCache->status == 1))
989 989
             ) {
990 990
                 array_push($tempArray, 'OC status != import status');
@@ -994,7 +994,7 @@  discard block
 block discarded – undo
994 994
 
995 995
             if ((($fetchedListingInfo->nodeListingArchived == true) && ($fetchedOCCache->status != 3))
996 996
                 || (($fetchedListingInfo->nodeListingAvailable
997
-                     == false)
997
+                        == false)
998 998
                     && ($fetchedOCCache->status == 3))
999 999
             ) {
1000 1000
                 array_push($tempArray, 'OC status != import status');
@@ -1093,11 +1093,11 @@  discard block
 block discarded – undo
1093 1093
                     ] as $checkItem) {
1094 1094
                         if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) {
1095 1095
                             $newComment .= $checkItem
1096
-                                           . ' changed from '
1097
-                                           . $fetchedExistingSupportListingInfoArray[$checkItem]
1098
-                                           . ' to '
1099
-                                           . $wpt[$checkItem]
1100
-                                           . PHP_EOL;
1096
+                                            . ' changed from '
1097
+                                            . $fetchedExistingSupportListingInfoArray[$checkItem]
1098
+                                            . ' to '
1099
+                                            . $wpt[$checkItem]
1100
+                                            . PHP_EOL;
1101 1101
                         }
1102 1102
                     }
1103 1103
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportBonusCachesAssignment.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -16,40 +16,40 @@
 block discarded – undo
16 16
         $builder
17 17
             ->add(
18 18
                 'content_wp_to_be_assigned', null, [
19
-                                               'attr' => [
20
-                                                   'placeholder' => 'waypoint',
21
-                                                   'size' => '10%',
22
-                                                   'minlength' => '6',
23
-                                                   'maxlength' => '7',
24
-                                                   'pattern' => '[a-fA-FoO0-9]{6,7}',
25
-                                                   'style' => 'width: 250px;'
26
-                                               ],
27
-                                               'required' => false,
28
-                                               'disabled' => false,
29
-                                               'label' => false,
30
-                                               'trim' => true
31
-                                           ]
19
+                                                'attr' => [
20
+                                                    'placeholder' => 'waypoint',
21
+                                                    'size' => '10%',
22
+                                                    'minlength' => '6',
23
+                                                    'maxlength' => '7',
24
+                                                    'pattern' => '[a-fA-FoO0-9]{6,7}',
25
+                                                    'style' => 'width: 250px;'
26
+                                                ],
27
+                                                'required' => false,
28
+                                                'disabled' => false,
29
+                                                'label' => false,
30
+                                                'trim' => true
31
+                                            ]
32 32
             )
33 33
             ->add(
34 34
                 'content_wp_that_is_bonus_cache', null, [
35
-                                               'attr' => [
36
-                                                   'placeholder' => 'waypoint bonus',
37
-                                                   'size' => '10%',
38
-                                                   'minlength' => '6',
39
-                                                   'maxlength' => '7',
40
-                                                   'style' => 'width: 250px;'
41
-                                               ],
42
-                                               'required' => true,
43
-                                               'disabled' => false,
44
-                                               'label' => false,
45
-                                               'trim' => true
46
-                                           ]
35
+                                                'attr' => [
36
+                                                    'placeholder' => 'waypoint bonus',
37
+                                                    'size' => '10%',
38
+                                                    'minlength' => '6',
39
+                                                    'maxlength' => '7',
40
+                                                    'style' => 'width: 250px;'
41
+                                                ],
42
+                                                'required' => true,
43
+                                                'disabled' => false,
44
+                                                'label' => false,
45
+                                                'trim' => true
46
+                                            ]
47 47
             )
48 48
         ->add(
49 49
             'start_assignment', SubmitType::class, [
50
-                              'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'],
51
-                              'label' => false
52
-                          ]
50
+                                'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'],
51
+                                'label' => false
52
+                            ]
53 53
         );
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportCommentField.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -24,22 +24,22 @@
 block discarded – undo
24 24
         $builder
25 25
             ->add(
26 26
                 'content_comment_field', TextareaType::class, [
27
-                                           'attr' => [
28
-                                               'maxlength' => '100000',
29
-                                               'overflow' => 'auto',
30
-                                               'rows' => '10',
31
-                                           ],
32
-                                           'required' => false,
33
-                                           'disabled' => false,
34
-                                           'label' => false,
35
-                                           'trim' => true
36
-                                       ]
27
+                                            'attr' => [
28
+                                                'maxlength' => '100000',
29
+                                                'overflow' => 'auto',
30
+                                                'rows' => '10',
31
+                                            ],
32
+                                            'required' => false,
33
+                                            'disabled' => false,
34
+                                            'label' => false,
35
+                                            'trim' => true
36
+                                        ]
37 37
             )
38 38
             ->add(
39 39
                 'save_comment_button', SubmitType::class, [
40
-                                         'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
41
-                                         'label' => '
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.