Completed
Push — development ( 1f2cfc...95da5f )
by Thomas
01:33 queued 12s
created
htdocs_symfony/src/Controller/Backend/SupportController.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -246,10 +246,10 @@  discard block
 block discarded – undo
246 246
             $inputData = $formSQLFlex->getData();
247 247
 
248 248
             $fetchedInformation =
249
-                $this->executeSQL_flexible($inputData['content_WHAT'], $inputData['content_TABLE'], (string) $inputData['content_CONDITION']);
249
+                $this->executeSQL_flexible($inputData['content_WHAT'], $inputData['content_TABLE'], (string)$inputData['content_CONDITION']);
250 250
 
251 251
             $countFetched = count($fetchedInformation);
252
-            for ($i = 0; $i < $countFetched; $i ++) {
252
+            for ($i = 0; $i < $countFetched; $i++) {
253 253
                 if (array_key_exists('password', $fetchedInformation[$i])) {
254 254
                     $fetchedInformation[$i]['password'] = '-';
255 255
                 }
@@ -425,18 +425,18 @@  discard block
 block discarded – undo
425 425
             $inputData = $form->getData();
426 426
 
427 427
             if ($inputData['hidden_sender'] == 'textfield_cache_comment') {
428
-                $entity = $this->supportListingCommentsRepository->fetchOneBy(['wp_oc' => (string) $inputData['hidden_ID2']]);
428
+                $entity = $this->supportListingCommentsRepository->fetchOneBy(['wp_oc' => (string)$inputData['hidden_ID2']]);
429 429
                 $entity->comment = $inputData['content_comment_field'];
430 430
                 $this->supportListingCommentsRepository->update($entity);
431 431
             } elseif ($inputData['hidden_sender'] == 'textfield_user_comment') {
432
-                $entity = $this->supportUserCommentsRepository->fetchOneBy(['oc_user_id' => (int) $inputData['hidden_ID1']]);
432
+                $entity = $this->supportUserCommentsRepository->fetchOneBy(['oc_user_id' => (int)$inputData['hidden_ID1']]);
433 433
                 $entity->comment = $inputData['content_comment_field'];
434 434
                 $this->supportUserCommentsRepository->update($entity);
435 435
             }
436 436
 
437 437
             return $this->redirectToRoute('backend_support_occ', [
438
-                'userID' => (string) $inputData['hidden_ID1'],
439
-                'wpID' => (string) $inputData['hidden_ID2']
438
+                'userID' => (string)$inputData['hidden_ID1'],
439
+                'wpID' => (string)$inputData['hidden_ID2']
440 440
             ]);
441 441
         }
442 442
 
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
         if ($form->isSubmitted() && $form->isValid()) {
460 460
             $inputData = $form->getData();
461 461
 
462
-            $entity = $this->cacheReportsRepository->fetchOneBy(['id' => (int) $inputData['hidden_ID1']]);
462
+            $entity = $this->cacheReportsRepository->fetchOneBy(['id' => (int)$inputData['hidden_ID1']]);
463 463
             $entity->comment = $inputData['content_comment_field'];
464 464
 
465 465
             $this->cacheReportsRepository->update($entity);
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
                 $entity = $this->supportListingInfosRepository->getEntityFromDatabaseArray($wpt);
1010 1010
                 $this->supportListingInfosRepository->create($entity);
1011 1011
 
1012
-                $amountAssignedCaches ++;
1012
+                $amountAssignedCaches++;
1013 1013
             }
1014 1014
         }
1015 1015
 
Please login to merge, or discard this 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' => $formSQLFlex->createView(),
393
-                                                           'suppSQLqueryFlex' => $fetchedInformation
394
-                                                       ]
391
+                                                            'supportCachesForm' => $formSearch->createView(),
392
+                                                            'SQLFlexForm' => $formSQLFlex->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
 
@@ -927,15 +927,15 @@  discard block
 block discarded – undo
927 927
 
928 928
         return $this->render(
929 929
             'backend/support/occ_gpx_import.html.twig', [
930
-                                                          'supportCachesForm' => $formSearch->createView(),
931
-                                                          'supportUploadGPXForm' => $formUpload->createView(),
932
-                                                          'amountProcessedCaches' => $amountProcessedCaches,
933
-                                                          'amountAssignedCaches' => $amountAssignedCaches,
934
-                                                          'amountUpdatedCaches' => $amountUpdatedCaches,
935
-                                                          'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
936
-                                                          'fetchedListingInfos' => $fetchedListingInfos,
937
-                                                          'differencesDetected' => $differencesDetected
938
-                                                      ]
930
+                                                            'supportCachesForm' => $formSearch->createView(),
931
+                                                            'supportUploadGPXForm' => $formUpload->createView(),
932
+                                                            'amountProcessedCaches' => $amountProcessedCaches,
933
+                                                            'amountAssignedCaches' => $amountAssignedCaches,
934
+                                                            'amountUpdatedCaches' => $amountUpdatedCaches,
935
+                                                            'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
936
+                                                            'fetchedListingInfos' => $fetchedListingInfos,
937
+                                                            'differencesDetected' => $differencesDetected
938
+                                                        ]
939 939
         );
940 940
     }
941 941
 
@@ -988,7 +988,7 @@  discard block
 block discarded – undo
988 988
 
989 989
             if ((($fetchedListingInfo->nodeListingAvailable == true) && ($fetchedOCCache->status != 1))
990 990
                 || (($fetchedListingInfo->nodeListingAvailable
991
-                     == false)
991
+                        == false)
992 992
                     && ($fetchedOCCache->status == 1))
993 993
             ) {
994 994
                 array_push($tempArray, 'OC status != import status');
@@ -998,7 +998,7 @@  discard block
 block discarded – undo
998 998
 
999 999
             if ((($fetchedListingInfo->nodeListingArchived == true) && ($fetchedOCCache->status != 3))
1000 1000
                 || (($fetchedListingInfo->nodeListingAvailable
1001
-                     == false)
1001
+                        == false)
1002 1002
                     && ($fetchedOCCache->status == 3))
1003 1003
             ) {
1004 1004
                 array_push($tempArray, 'OC status != import status');
@@ -1098,11 +1098,11 @@  discard block
 block discarded – undo
1098 1098
                     ] as $checkItem) {
1099 1099
                         if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) {
1100 1100
                             $newComment .= $checkItem
1101
-                                           . ' changed from '
1102
-                                           . $fetchedExistingSupportListingInfoArray[$checkItem]
1103
-                                           . ' to '
1104
-                                           . $wpt[$checkItem]
1105
-                                           . PHP_EOL;
1101
+                                            . ' changed from '
1102
+                                            . $fetchedExistingSupportListingInfoArray[$checkItem]
1103
+                                            . ' to '
1104
+                                            . $wpt[$checkItem]
1105
+                                            . PHP_EOL;
1106 1106
                         }
1107 1107
                     }
1108 1108
 
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.
htdocs_symfony/src/Controller/Backend/OCOnly81Controller.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,12 +40,12 @@
 block discarded – undo
40 40
 
41 41
         return $this->render(
42 42
             'backend/oconly81/index.html.twig', [
43
-                                                  'ocOnly81_user' => $userData,
44
-                                                  'ocOnly81_matrix' => $matrixData[0],
45
-                                                  'ocOnly81_dsum' => $matrixData[1],
46
-                                                  'ocOnly81_tsum' => $matrixData[2],
47
-                                                  'ocOnly81_overall_sum' => $matrixData[3]
48
-                                              ]
43
+                                                    'ocOnly81_user' => $userData,
44
+                                                    'ocOnly81_matrix' => $matrixData[0],
45
+                                                    'ocOnly81_dsum' => $matrixData[1],
46
+                                                    'ocOnly81_tsum' => $matrixData[2],
47
+                                                    'ocOnly81_overall_sum' => $matrixData[3]
48
+                                                ]
49 49
         );
50 50
     }
51 51
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
     private function ocOnly81_get_matrixData()
58 58
     : array
59 59
     {
60
-        for ($i = 0; $i <= 8; $i ++) {
61
-            for ($j = 0; $j <= 8; $j ++) {
60
+        for ($i = 0; $i <= 8; $i++) {
61
+            for ($j = 0; $j <= 8; $j++) {
62 62
                 $matrix[$i][$j] = 0;
63 63
                 $dsum[$i] = 0;
64 64
                 $tsum[$i] = 0;
@@ -75,10 +75,10 @@  discard block
 block discarded – undo
75 75
         $data = $qb->execute()->fetchAll();
76 76
 
77 77
         foreach ($data as $item) {
78
-            $matrix[$item['difficulty'] - 2][$item['terrain'] - 2] ++;
78
+            $matrix[$item['difficulty'] - 2][$item['terrain'] - 2]++;
79 79
         }
80 80
 
81
-        for ($i = 0; $i <= 8; $i ++) {
81
+        for ($i = 0; $i <= 8; $i++) {
82 82
             $dsum[$i] = $dsum[$i] + array_sum($matrix[$i]);
83 83
             $tsum[$i] = $tsum[$i] + array_sum(array_column($matrix, $i));
84 84
         }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                     'count' => 1
119 119
                 ];
120 120
             } else {
121
-                $result[$item['user_id']]['count'] ++;
121
+                $result[$item['user_id']]['count']++;
122 122
             }
123 123
         }
124 124
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Controller/Backend/MapsController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,11 +76,11 @@
 block discarded – undo
76 76
 
77 77
         return $this->render(
78 78
             'backend/maps/index.html.twig', [
79
-                                              'mapCenterViewLat' => $mapCenterViewLat,
80
-                                              'mapCenterViewLon' => $mapCenterViewLon,
81
-                                              'mapZoom' => '6',
82
-                                              'mapWP' => $mapWP
83
-                                          ]
79
+                                                'mapCenterViewLat' => $mapCenterViewLat,
80
+                                                'mapCenterViewLon' => $mapCenterViewLon,
81
+                                                'mapZoom' => '6',
82
+                                                'mapWP' => $mapWP
83
+                                            ]
84 84
         );
85 85
     }
86 86
 }
Please login to merge, or discard this patch.
htdocs_symfony/src/Controller/Backend/RolesController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,6 @@
 block discarded – undo
59 59
      * @throws RecordsNotFoundException
60 60
      * @Route("/roles/teamlist", name="roles_teamlist")
61 61
      * @Security("is_granted('ROLE_TEAM')")
62
-
63 62
      */
64 63
     public function getTeamOverview()
65 64
     : Response
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/UserRolesRepository.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -219,9 +219,9 @@  discard block
 block discarded – undo
219 219
     public function getEntityFromDatabaseArray(array $data) : UserRolesEntity
220 220
     {
221 221
         $entity = new UserRolesEntity();
222
-        $entity->id = (int) $data['id'];
223
-        $entity->userId = (string) $data['user_id'];
224
-        $entity->roleId = (string) $data['role_id'];
222
+        $entity->id = (int)$data['id'];
223
+        $entity->userId = (string)$data['user_id'];
224
+        $entity->roleId = (string)$data['role_id'];
225 225
 
226 226
         return $entity;
227 227
     }
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.