Completed
Pull Request — development (#896)
by
unknown
42s
created
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/Repository/SupportUserRelationsRepository.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             $databaseArray
154 154
         );
155 155
 
156
-        $entity->id = (int) $this->connection->lastInsertId();
156
+        $entity->id = (int)$this->connection->lastInsertId();
157 157
 
158 158
         return $entity;
159 159
     }
@@ -231,11 +231,11 @@  discard block
 block discarded – undo
231 231
     public function getEntityFromDatabaseArray(array $data)
232 232
     : SupportUserRelationsEntity {
233 233
         $entity = new SupportUserRelationsEntity();
234
-        $entity->id = (int) $data['id'];
235
-        $entity->ocUserId = (int) $data['oc_user_id'];
236
-        $entity->nodeId = (int) $data['node_id'];
237
-        $entity->nodeUserId = (string) $data['node_user_id'];
238
-        $entity->nodeUsername = (string) $data['node_username'];
234
+        $entity->id = (int)$data['id'];
235
+        $entity->ocUserId = (int)$data['oc_user_id'];
236
+        $entity->nodeId = (int)$data['node_id'];
237
+        $entity->nodeUserId = (string)$data['node_user_id'];
238
+        $entity->nodeUsername = (string)$data['node_username'];
239 239
         $entity->node = $this->nodesRepository->fetchOneBy(['id' => $entity->nodeId]);
240 240
         $entity->user = $this->userRepository->fetchOneById($entity->ocUserId);
241 241
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SupportListingCommentsRepository.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             $databaseArray
142 142
         );
143 143
 
144
-        $entity->id = (int) $this->connection->lastInsertId();
144
+        $entity->id = (int)$this->connection->lastInsertId();
145 145
 
146 146
         return $entity;
147 147
     }
@@ -219,11 +219,11 @@  discard block
 block discarded – undo
219 219
     public function getEntityFromDatabaseArray(array $data)
220 220
     : SupportListingCommentsEntity {
221 221
         $entity = new SupportListingCommentsEntity('');
222
-        $entity->id = (int) $data['id'];
223
-        $entity->wpOc = (string) $data['wp_oc'];
224
-        $entity->comment = (string) $data['comment'];
225
-        $entity->commentCreated = (string) $data['comment_created'];
226
-        $entity->commentLastModified = (string) $data['comment_last_modified'];
222
+        $entity->id = (int)$data['id'];
223
+        $entity->wpOc = (string)$data['wp_oc'];
224
+        $entity->comment = (string)$data['comment'];
225
+        $entity->commentCreated = (string)$data['comment_created'];
226
+        $entity->commentLastModified = (string)$data['comment_last_modified'];
227 227
 
228 228
         return $entity;
229 229
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SupportBonuscachesRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
             $databaseArray
141 141
         );
142 142
 
143
-        $entity->id = (int) $this->connection->lastInsertId();
143
+        $entity->id = (int)$this->connection->lastInsertId();
144 144
 
145 145
         return $entity;
146 146
     }
@@ -216,10 +216,10 @@  discard block
 block discarded – undo
216 216
     public function getEntityFromDatabaseArray(array $data)
217 217
     : SupportBonuscachesEntity {
218 218
         $entity = new SupportBonuscachesEntity();
219
-        $entity->id = (int) $data['id'];
220
-        $entity->wpOc = (string) $data['wp_oc'];
221
-        $entity->isBonusCache = (bool) $data['is_bonus_cache'];
222
-        $entity->belongsToBonusCache = (string) $data['belongs_to_bonus_cache'];
219
+        $entity->id = (int)$data['id'];
220
+        $entity->wpOc = (string)$data['wp_oc'];
221
+        $entity->isBonusCache = (bool)$data['is_bonus_cache'];
222
+        $entity->belongsToBonusCache = (string)$data['belongs_to_bonus_cache'];
223 223
 
224 224
         return $entity;
225 225
     }
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/Repository/SupportUserCommentsRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
             $databaseArray
146 146
         );
147 147
 
148
-        $entity->id = (int) $this->connection->lastInsertId();
148
+        $entity->id = (int)$this->connection->lastInsertId();
149 149
 
150 150
         return $entity;
151 151
     }
@@ -223,11 +223,11 @@  discard block
 block discarded – undo
223 223
     public function getEntityFromDatabaseArray(array $data)
224 224
     : SupportUserCommentsEntity {
225 225
         $entity = new SupportUserCommentsEntity(0);
226
-        $entity->id = (int) $data['id'];
227
-        $entity->ocUserId = (int) $data['oc_user_id'];
226
+        $entity->id = (int)$data['id'];
227
+        $entity->ocUserId = (int)$data['oc_user_id'];
228 228
         $entity->user = $this->userRepository->fetchOneById($entity->ocUserId);
229
-        $entity->comment = (string) $data['comment'];
230
-        $entity->commentCreated = (string) $data['comment_created'];
229
+        $entity->comment = (string)$data['comment'];
230
+        $entity->commentCreated = (string)$data['comment_created'];
231 231
         $entity->commentLastModified = date('Y-m-d H:i:s');
232 232
 
233 233
         return $entity;
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/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   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
 
188 188
         return $this->render(
189 189
             'backend/support/searchedCaches.html.twig', [
190
-                                                          'supportCachesForm' => $formSearch->createView(),
191
-                                                          'foundCaches' => $fetchedCaches
192
-                                                      ]
190
+                                                            'supportCachesForm' => $formSearch->createView(),
191
+                                                            'foundCaches' => $fetchedCaches
192
+                                                        ]
193 193
         );
194 194
     }
195 195
 
@@ -211,9 +211,9 @@  discard block
 block discarded – undo
211 211
 
212 212
         return $this->render(
213 213
             'backend/support/reportedCaches.html.twig', [
214
-                                                          'supportCachesForm' => $formSearch->createView(),
215
-                                                          'reportedCaches_by_id' => $fetchedReports
216
-                                                      ]
214
+                                                            'supportCachesForm' => $formSearch->createView(),
215
+                                                            'reportedCaches_by_id' => $fetchedReports
216
+                                                        ]
217 217
         );
218 218
     }
219 219
 
@@ -233,10 +233,10 @@  discard block
 block discarded – undo
233 233
 
234 234
         return $this->render(
235 235
             'backend/support/bonusCaches.html.twig', [
236
-                                                       'supportCachesForm' => $formSearch->createView(),
237
-                                                       'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(),
238
-                                                       'bonusCaches_by_id' => $fetchedBonuscaches
239
-                                                   ]
236
+                                                        'supportCachesForm' => $formSearch->createView(),
237
+                                                        'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(),
238
+                                                        'bonusCaches_by_id' => $fetchedBonuscaches
239
+                                                    ]
240 240
         );
241 241
     }
242 242
 
@@ -259,10 +259,10 @@  discard block
 block discarded – undo
259 259
 
260 260
         return $this->render(
261 261
             'backend/support/bonusCachesAssignment.html.twig', [
262
-                                                                 'supportCachesForm' => $formSearch->createView(),
263
-                                                                 'bonus_Cache' => $wpID,
264
-                                                                 'caches_by_owner' => $fetchedOwnerCaches
265
-                                                             ]
262
+                                                                    'supportCachesForm' => $formSearch->createView(),
263
+                                                                    'bonus_Cache' => $wpID,
264
+                                                                    'caches_by_owner' => $fetchedOwnerCaches
265
+                                                                ]
266 266
         );
267 267
     }
268 268
 
@@ -290,10 +290,10 @@  discard block
 block discarded – undo
290 290
 
291 291
         return $this->render(
292 292
             'backend/support/bonusCachesAssignment.html.twig', [
293
-                                                                 'supportCachesForm' => $formSearch->createView(),
294
-                                                                 'bonus_Cache' => $toBonusCache,
295
-                                                                 'caches_by_owner' => $fetchedOwnerCaches
296
-                                                             ]
293
+                                                                    'supportCachesForm' => $formSearch->createView(),
294
+                                                                    'bonus_Cache' => $toBonusCache,
295
+                                                                    'caches_by_owner' => $fetchedOwnerCaches
296
+                                                                ]
297 297
         );
298 298
     }
299 299
 
@@ -401,10 +401,10 @@  discard block
 block discarded – undo
401 401
 
402 402
         return $this->render(
403 403
             'backend/support/databaseQueries.html.twig', [
404
-                                                           'supportCachesForm' => $formSearch->createView(),
405
-                                                           'SQLFlexForm' => $formSQLFlex->createView(),
406
-                                                           'suppSQLqueryFlex' => $fetchedInformation
407
-                                                       ]
404
+                                                            'supportCachesForm' => $formSearch->createView(),
405
+                                                            'SQLFlexForm' => $formSQLFlex->createView(),
406
+                                                            'suppSQLqueryFlex' => $fetchedInformation
407
+                                                        ]
408 408
         );
409 409
     }
410 410
 
@@ -541,16 +541,16 @@  discard block
 block discarded – undo
541 541
 
542 542
         return $this->render(
543 543
             'backend/support/occ.html.twig', [
544
-                                               'supportCachesForm' => $formSearch->createView(),
545
-                                               'supportCommentFormUser' => $formCommentUser->createView(),
546
-                                               'supportCommentFormCache' => $formCommentCache->createView(),
547
-                                               'occ_cache_data' => $fetchedCacheData,
548
-                                               'occ_cache_comments' => $fetchedCacheComments,
549
-                                               'occ_cache_infos' => $fetchedCacheInfos,
550
-                                               'occ_user_data' => $fetchedUserData,
551
-                                               'occ_user_comments' => $fetchedUserComments,
552
-                                               'occ_user_relations' => $fetchedUserRelations
553
-                                           ]
544
+                                                'supportCachesForm' => $formSearch->createView(),
545
+                                                'supportCommentFormUser' => $formCommentUser->createView(),
546
+                                                'supportCommentFormCache' => $formCommentCache->createView(),
547
+                                                'occ_cache_data' => $fetchedCacheData,
548
+                                                'occ_cache_comments' => $fetchedCacheComments,
549
+                                                'occ_cache_infos' => $fetchedCacheInfos,
550
+                                                'occ_user_data' => $fetchedUserData,
551
+                                                'occ_user_comments' => $fetchedUserComments,
552
+                                                'occ_user_relations' => $fetchedUserRelations
553
+                                            ]
554 554
         );
555 555
     }
556 556
 
@@ -682,10 +682,10 @@  discard block
 block discarded – undo
682 682
 
683 683
         return $this->render(
684 684
             'backend/support/userDetails.html.twig', [
685
-                                                       'supportCachesForm' => $formSearch->createView(),
686
-                                                       'supportUserAccountActions' => $formActions->createView(),
687
-                                                       'user_account_details' => $fetchedUserDetails
688
-                                                   ]
685
+                                                        'supportCachesForm' => $formSearch->createView(),
686
+                                                        'supportUserAccountActions' => $formActions->createView(),
687
+                                                        'user_account_details' => $fetchedUserDetails
688
+                                                    ]
689 689
         );
690 690
     }
691 691
 
@@ -781,9 +781,9 @@  discard block
 block discarded – undo
781 781
 
782 782
         return $this->render(
783 783
             'backend/support/databaseQueries.html.twig', [
784
-                                                           'supportCachesForm' => $formSearch->createView(),
785
-                                                           'suppSQLquery1' => $qb->executeQuery()->fetchAllAssociative()
786
-                                                       ]
784
+                                                            'supportCachesForm' => $formSearch->createView(),
785
+                                                            'suppSQLquery1' => $qb->executeQuery()->fetchAllAssociative()
786
+                                                        ]
787 787
         );
788 788
     }
789 789
 
@@ -809,9 +809,9 @@  discard block
 block discarded – undo
809 809
 
810 810
         return $this->render(
811 811
             'backend/support/databaseQueries.html.twig', [
812
-                                                           'supportCachesForm' => $formSearch->createView(),
813
-                                                           'suppSQLquery2' => $qb->executeQuery()->fetchAllAssociative()
814
-                                                       ]
812
+                                                            'supportCachesForm' => $formSearch->createView(),
813
+                                                            'suppSQLquery2' => $qb->executeQuery()->fetchAllAssociative()
814
+                                                        ]
815 815
         );
816 816
     }
817 817
 
@@ -844,9 +844,9 @@  discard block
 block discarded – undo
844 844
 
845 845
         return $this->render(
846 846
             'backend/support/databaseQueries.html.twig', [
847
-                                                           'supportCachesForm' => $formSearch->createView(),
848
-                                                           'suppSQLquery4' => $qb->executeQuery()->fetchAllAssociative()
849
-                                                       ]
847
+                                                            'supportCachesForm' => $formSearch->createView(),
848
+                                                            'suppSQLquery4' => $qb->executeQuery()->fetchAllAssociative()
849
+                                                        ]
850 850
         );
851 851
     }
852 852
 
@@ -863,9 +863,9 @@  discard block
 block discarded – undo
863 863
 
864 864
         return $this->render(
865 865
             'backend/support/databaseQueries.html.twig', [
866
-                                                           'supportCachesForm' => $formSearch->createView(),
867
-                                                           'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
868
-                                                       ]
866
+                                                            'supportCachesForm' => $formSearch->createView(),
867
+                                                            'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
868
+                                                        ]
869 869
         );
870 870
     }
871 871
 
@@ -909,9 +909,9 @@  discard block
 block discarded – undo
909 909
 
910 910
         return $this->render(
911 911
             'backend/support/databaseQueries.html.twig', [
912
-                                                           'supportCachesForm' => $formSearch->createView(),
913
-                                                           'suppSQLquery6' => $qb_caches_list
914
-                                                       ]
912
+                                                            'supportCachesForm' => $formSearch->createView(),
913
+                                                            'suppSQLquery6' => $qb_caches_list
914
+                                                        ]
915 915
         );
916 916
     }
917 917
 
@@ -1030,15 +1030,15 @@  discard block
 block discarded – undo
1030 1030
 
1031 1031
         return $this->render(
1032 1032
             'backend/support/occ_gpx_import.html.twig', [
1033
-                                                          'supportCachesForm' => $formSearch->createView(),
1034
-                                                          'supportUploadGPXForm' => $formUpload->createView(),
1035
-                                                          'amountProcessedCaches' => $amountProcessedCaches,
1036
-                                                          'amountAssignedCaches' => $amountAssignedCaches,
1037
-                                                          'amountUpdatedCaches' => $amountUpdatedCaches,
1038
-                                                          'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
1039
-                                                          'fetchedListingInfos' => $fetchedListingInfos,
1040
-                                                          'differencesDetected' => $differencesDetected
1041
-                                                      ]
1033
+                                                            'supportCachesForm' => $formSearch->createView(),
1034
+                                                            'supportUploadGPXForm' => $formUpload->createView(),
1035
+                                                            'amountProcessedCaches' => $amountProcessedCaches,
1036
+                                                            'amountAssignedCaches' => $amountAssignedCaches,
1037
+                                                            'amountUpdatedCaches' => $amountUpdatedCaches,
1038
+                                                            'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
1039
+                                                            'fetchedListingInfos' => $fetchedListingInfos,
1040
+                                                            'differencesDetected' => $differencesDetected
1041
+                                                        ]
1042 1042
         );
1043 1043
     }
1044 1044
 
@@ -1205,11 +1205,11 @@  discard block
 block discarded – undo
1205 1205
                     ] as $checkItem) {
1206 1206
                         if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) {
1207 1207
                             $newComment .= $checkItem
1208
-                                           . ' changed from '
1209
-                                           . $fetchedExistingSupportListingInfoArray[$checkItem]
1210
-                                           . ' to '
1211
-                                           . $wpt[$checkItem]
1212
-                                           . PHP_EOL;
1208
+                                            . ' changed from '
1209
+                                            . $fetchedExistingSupportListingInfoArray[$checkItem]
1210
+                                            . ' to '
1211
+                                            . $wpt[$checkItem]
1212
+                                            . PHP_EOL;
1213 1213
                         }
1214 1214
                     }
1215 1215
 
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.