Completed
Push — development ( 6e7173...b9546d )
by Thomas
19s queued 12s
created
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/CacheLogsArchivedRepository.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             $databaseArray
144 144
         );
145 145
 
146
-        $entity->id = (int) $this->connection->lastInsertId();
146
+        $entity->id = (int)$this->connection->lastInsertId();
147 147
 
148 148
         return $entity;
149 149
     }
@@ -240,30 +240,30 @@  discard block
 block discarded – undo
240 240
     public function getEntityFromDatabaseArray(array $data)
241 241
     {
242 242
         $entity = new GeoCacheLogsArchivedEntity();
243
-        $entity->id = (int) $data['id'];
244
-        $entity->uuid = (string) $data['uuid'];
245
-        $entity->node = (int) $data['node'];
243
+        $entity->id = (int)$data['id'];
244
+        $entity->uuid = (string)$data['uuid'];
245
+        $entity->node = (int)$data['node'];
246 246
         $entity->dateCreated = new DateTime($data['date_created']);
247 247
         $entity->entryLastModified = new DateTime($data['entry_last_modified']);
248 248
         $entity->lastModified = date('Y-m-d H:i:s');
249
-        $entity->okapiSyncbase = (string) $data['okapi_syncbase'];
249
+        $entity->okapiSyncbase = (string)$data['okapi_syncbase'];
250 250
         $entity->logLastModified = new DateTime($data['log_last_modified']);
251
-        $entity->cacheId = (int) $data['cache_id'];
252
-        $entity->userId = (int) $data['user_id'];
253
-        $entity->type = (int) $data['type'];
254
-        $entity->ocTeamComment = (int) $data['oc_team_comment'];
251
+        $entity->cacheId = (int)$data['cache_id'];
252
+        $entity->userId = (int)$data['user_id'];
253
+        $entity->type = (int)$data['type'];
254
+        $entity->ocTeamComment = (int)$data['oc_team_comment'];
255 255
         $entity->date = new DateTime($data['date']);
256 256
         $entity->orderDate = new DateTime($data['order_date']);
257
-        $entity->needsMaintenance = (int) $data['needs_maintenance'];
258
-        $entity->listingOutdated = (int) $data['listing_outdated'];
259
-        $entity->text = (string) $data['text'];
260
-        $entity->textHtml = (int) $data['text_html'];
261
-        $entity->textHtmledit = (int) $data['text_htmledit'];
262
-        $entity->ownerNotified = (int) $data['owner_notified'];
257
+        $entity->needsMaintenance = (int)$data['needs_maintenance'];
258
+        $entity->listingOutdated = (int)$data['listing_outdated'];
259
+        $entity->text = (string)$data['text'];
260
+        $entity->textHtml = (int)$data['text_html'];
261
+        $entity->textHtmledit = (int)$data['text_htmledit'];
262
+        $entity->ownerNotified = (int)$data['owner_notified'];
263 263
         $entity->picture = $data['picture'];
264 264
         $entity->deletionDate = new DateTime($data['deletion_date']);
265
-        $entity->deletedBy = (int) $data['deleted_by'];
266
-        $entity->restoredBy = (int) $data['restored_by'];
265
+        $entity->deletedBy = (int)$data['deleted_by'];
266
+        $entity->restoredBy = (int)$data['restored_by'];
267 267
 
268 268
         return $entity;
269 269
     }
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/Repository/NodesRepository.php 1 patch
Spacing   +5 added lines, -5 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
     }
@@ -220,10 +220,10 @@  discard block
 block discarded – undo
220 220
     public function getEntityFromDatabaseArray(array $data) : NodesEntity
221 221
     {
222 222
         $entity = new NodesEntity();
223
-        $entity->id = (int) $data['id'];
224
-        $entity->name = (string) $data['name'];
225
-        $entity->url = (string) $data['url'];
226
-        $entity->waypointPrefix = (string) $data['waypoint_prefix'];
223
+        $entity->id = (int)$data['id'];
224
+        $entity->name = (string)$data['name'];
225
+        $entity->url = (string)$data['url'];
226
+        $entity->waypointPrefix = (string)$data['waypoint_prefix'];
227 227
 
228 228
         return $entity;
229 229
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SupportListingInfosRepository.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
             $databaseArray
153 153
         );
154 154
 
155
-        $entity->id = (int) $this->connection->lastInsertId();
155
+        $entity->id = (int)$this->connection->lastInsertId();
156 156
 
157 157
         return $entity;
158 158
     }
@@ -241,22 +241,22 @@  discard block
 block discarded – undo
241 241
     public function getEntityFromDatabaseArray(array $data)
242 242
     : SupportListingInfosEntity {
243 243
         $entity = new SupportListingInfosEntity();
244
-        $entity->id = ((int) $data['id']) ?? NULL;
245
-        $entity->wpOc = (string) $data['wp_oc'];
246
-        $entity->nodeId = (int) $data['node_id'];
247
-        $entity->nodeOwnerId = (string) $data['node_owner_id'];
248
-        $entity->nodeListingId = (string) $data['node_listing_id'];
249
-        $entity->nodeListingWp = (string) $data['node_listing_wp'];
250
-        $entity->nodeListingName = (string) $data['node_listing_name'];
251
-        $entity->nodeListingSize = (int) $data['node_listing_size'];
252
-        $entity->nodeListingDifficulty = (int) $data['node_listing_difficulty'];
253
-        $entity->nodeListingTerrain = (int) $data['node_listing_terrain'];
254
-        $entity->nodeListingCoordinatesLon = (double) $data['node_listing_coordinates_lon'];
255
-        $entity->nodeListingCoordinatesLat = (double) $data['node_listing_coordinates_lat'];
256
-        $entity->nodeListingAvailable = (bool) $data['node_listing_available'];
257
-        $entity->nodeListingArchived = (bool) $data['node_listing_archived'];
244
+        $entity->id = ((int)$data['id']) ?? NULL;
245
+        $entity->wpOc = (string)$data['wp_oc'];
246
+        $entity->nodeId = (int)$data['node_id'];
247
+        $entity->nodeOwnerId = (string)$data['node_owner_id'];
248
+        $entity->nodeListingId = (string)$data['node_listing_id'];
249
+        $entity->nodeListingWp = (string)$data['node_listing_wp'];
250
+        $entity->nodeListingName = (string)$data['node_listing_name'];
251
+        $entity->nodeListingSize = (int)$data['node_listing_size'];
252
+        $entity->nodeListingDifficulty = (int)$data['node_listing_difficulty'];
253
+        $entity->nodeListingTerrain = (int)$data['node_listing_terrain'];
254
+        $entity->nodeListingCoordinatesLon = (double)$data['node_listing_coordinates_lon'];
255
+        $entity->nodeListingCoordinatesLat = (double)$data['node_listing_coordinates_lat'];
256
+        $entity->nodeListingAvailable = (bool)$data['node_listing_available'];
257
+        $entity->nodeListingArchived = (bool)$data['node_listing_archived'];
258 258
         $entity->lastModified = date('Y-m-d H:i:s');
259
-        $entity->importStatus = (int) $data['importstatus'];
259
+        $entity->importStatus = (int)$data['importstatus'];
260 260
         $entity->node = $this->nodesRepository->fetchOneBy(['id' => $entity->nodeId]);
261 261
 
262 262
         return $entity;
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   +67 added lines, -67 removed lines patch added patch discarded remove patch
@@ -186,9 +186,9 @@  discard block
 block discarded – undo
186 186
 
187 187
         return $this->render(
188 188
             'backend/support/searchedCaches.html.twig', [
189
-                                                          'supportCachesForm' => $formSearch->createView(),
190
-                                                          'foundCaches' => $fetchedCaches
191
-                                                      ]
189
+                                                            'supportCachesForm' => $formSearch->createView(),
190
+                                                            'foundCaches' => $fetchedCaches
191
+                                                        ]
192 192
         );
193 193
     }
194 194
 
@@ -209,9 +209,9 @@  discard block
 block discarded – undo
209 209
 
210 210
         return $this->render(
211 211
             'backend/support/reportedCaches.html.twig', [
212
-                                                          'supportCachesForm' => $formSearch->createView(),
213
-                                                          'reportedCaches_by_id' => $fetchedReports
214
-                                                      ]
212
+                                                            'supportCachesForm' => $formSearch->createView(),
213
+                                                            'reportedCaches_by_id' => $fetchedReports
214
+                                                        ]
215 215
         );
216 216
     }
217 217
 
@@ -231,10 +231,10 @@  discard block
 block discarded – undo
231 231
 
232 232
         return $this->render(
233 233
             'backend/support/bonusCaches.html.twig', [
234
-                                                       'supportCachesForm' => $formSearch->createView(),
235
-                                                       'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(),
236
-                                                       'bonusCaches_by_id' => $fetchedBonuscaches
237
-                                                   ]
234
+                                                        'supportCachesForm' => $formSearch->createView(),
235
+                                                        'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(),
236
+                                                        'bonusCaches_by_id' => $fetchedBonuscaches
237
+                                                    ]
238 238
         );
239 239
     }
240 240
 
@@ -256,10 +256,10 @@  discard block
 block discarded – undo
256 256
 
257 257
         return $this->render(
258 258
             'backend/support/bonusCachesAssignment.html.twig', [
259
-                                                                 'supportCachesForm' => $formSearch->createView(),
260
-                                                                 'bonus_Cache' => $wpID,
261
-                                                                 'caches_by_owner' => $fetchedOwnerCaches
262
-                                                             ]
259
+                                                                    'supportCachesForm' => $formSearch->createView(),
260
+                                                                    'bonus_Cache' => $wpID,
261
+                                                                    'caches_by_owner' => $fetchedOwnerCaches
262
+                                                                ]
263 263
         );
264 264
     }
265 265
 
@@ -286,10 +286,10 @@  discard block
 block discarded – undo
286 286
 
287 287
         return $this->render(
288 288
             'backend/support/bonusCachesAssignment.html.twig', [
289
-                                                                 'supportCachesForm' => $formSearch->createView(),
290
-                                                                 'bonus_Cache' => $toBonusCache,
291
-                                                                 'caches_by_owner' => $fetchedOwnerCaches
292
-                                                             ]
289
+                                                                    'supportCachesForm' => $formSearch->createView(),
290
+                                                                    'bonus_Cache' => $toBonusCache,
291
+                                                                    'caches_by_owner' => $fetchedOwnerCaches
292
+                                                                ]
293 293
         );
294 294
     }
295 295
 
@@ -397,10 +397,10 @@  discard block
 block discarded – undo
397 397
 
398 398
         return $this->render(
399 399
             'backend/support/databaseQueries.html.twig', [
400
-                                                           'supportCachesForm' => $formSearch->createView(),
401
-                                                           'SQLFlexForm' => $formSQLFlex->createView(),
402
-                                                           'suppSQLqueryFlex' => $fetchedInformation
403
-                                                       ]
400
+                                                            'supportCachesForm' => $formSearch->createView(),
401
+                                                            'SQLFlexForm' => $formSQLFlex->createView(),
402
+                                                            'suppSQLqueryFlex' => $fetchedInformation
403
+                                                        ]
404 404
         );
405 405
     }
406 406
 
@@ -531,16 +531,16 @@  discard block
 block discarded – undo
531 531
 
532 532
         return $this->render(
533 533
             'backend/support/occ.html.twig', [
534
-                                               'supportCachesForm' => $formSearch->createView(),
535
-                                               'supportCommentFormUser' => $formCommentUser->createView(),
536
-                                               'supportCommentFormCache' => $formCommentCache->createView(),
537
-                                               'occ_cache_data' => $fetchedCacheData,
538
-                                               'occ_cache_comments' => $fetchedCacheComments,
539
-                                               'occ_cache_infos' => $fetchedCacheInfos,
540
-                                               'occ_user_data' => $fetchedUserData,
541
-                                               'occ_user_comments' => $fetchedUserComments,
542
-                                               'occ_user_relations' => $fetchedUserRelations
543
-                                           ]
534
+                                                'supportCachesForm' => $formSearch->createView(),
535
+                                                'supportCommentFormUser' => $formCommentUser->createView(),
536
+                                                'supportCommentFormCache' => $formCommentCache->createView(),
537
+                                                'occ_cache_data' => $fetchedCacheData,
538
+                                                'occ_cache_comments' => $fetchedCacheComments,
539
+                                                'occ_cache_infos' => $fetchedCacheInfos,
540
+                                                'occ_user_data' => $fetchedUserData,
541
+                                                'occ_user_comments' => $fetchedUserComments,
542
+                                                'occ_user_relations' => $fetchedUserRelations
543
+                                            ]
544 544
         );
545 545
     }
546 546
 
@@ -669,10 +669,10 @@  discard block
 block discarded – undo
669 669
 
670 670
         return $this->render(
671 671
             'backend/support/userDetails.html.twig', [
672
-                                                       'supportCachesForm' => $formSearch->createView(),
673
-                                                       'supportUserAccountActions' => $formActions->createView(),
674
-                                                       'user_account_details' => $fetchedUserDetails
675
-                                                   ]
672
+                                                        'supportCachesForm' => $formSearch->createView(),
673
+                                                        'supportUserAccountActions' => $formActions->createView(),
674
+                                                        'user_account_details' => $fetchedUserDetails
675
+                                                    ]
676 676
         );
677 677
     }
678 678
 
@@ -764,9 +764,9 @@  discard block
 block discarded – undo
764 764
 
765 765
         return $this->render(
766 766
             'backend/support/databaseQueries.html.twig', [
767
-                                                           'supportCachesForm' => $formSearch->createView(),
768
-                                                           'suppSQLquery1' => $qb->execute()->fetchAll()
769
-                                                       ]
767
+                                                            'supportCachesForm' => $formSearch->createView(),
768
+                                                            'suppSQLquery1' => $qb->execute()->fetchAll()
769
+                                                        ]
770 770
         );
771 771
     }
772 772
 
@@ -791,9 +791,9 @@  discard block
 block discarded – undo
791 791
 
792 792
         return $this->render(
793 793
             'backend/support/databaseQueries.html.twig', [
794
-                                                           'supportCachesForm' => $formSearch->createView(),
795
-                                                           'suppSQLquery2' => $qb->execute()->fetchAll()
796
-                                                       ]
794
+                                                            'supportCachesForm' => $formSearch->createView(),
795
+                                                            'suppSQLquery2' => $qb->execute()->fetchAll()
796
+                                                        ]
797 797
         );
798 798
     }
799 799
 
@@ -825,9 +825,9 @@  discard block
 block discarded – undo
825 825
 
826 826
         return $this->render(
827 827
             'backend/support/databaseQueries.html.twig', [
828
-                                                           'supportCachesForm' => $formSearch->createView(),
829
-                                                           'suppSQLquery4' => $qb->execute()->fetchAll()
830
-                                                       ]
828
+                                                            'supportCachesForm' => $formSearch->createView(),
829
+                                                            'suppSQLquery4' => $qb->execute()->fetchAll()
830
+                                                        ]
831 831
         );
832 832
     }
833 833
 
@@ -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
-                                                           'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
849
-                                                       ]
847
+                                                            'supportCachesForm' => $formSearch->createView(),
848
+                                                            'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll()
849
+                                                        ]
850 850
         );
851 851
     }
852 852
 
@@ -889,9 +889,9 @@  discard block
 block discarded – undo
889 889
 
890 890
         return $this->render(
891 891
             'backend/support/databaseQueries.html.twig', [
892
-                                                           'supportCachesForm' => $formSearch->createView(),
893
-                                                           'suppSQLquery6' => $qb_caches_list
894
-                                                       ]
892
+                                                            'supportCachesForm' => $formSearch->createView(),
893
+                                                            'suppSQLquery6' => $qb_caches_list
894
+                                                        ]
895 895
         );
896 896
     }
897 897
 
@@ -1004,15 +1004,15 @@  discard block
 block discarded – undo
1004 1004
 
1005 1005
         return $this->render(
1006 1006
             'backend/support/occ_gpx_import.html.twig', [
1007
-                                                          'supportCachesForm' => $formSearch->createView(),
1008
-                                                          'supportUploadGPXForm' => $formUpload->createView(),
1009
-                                                          'amountProcessedCaches' => $amountProcessedCaches,
1010
-                                                          'amountAssignedCaches' => $amountAssignedCaches,
1011
-                                                          'amountUpdatedCaches' => $amountUpdatedCaches,
1012
-                                                          'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
1013
-                                                          'fetchedListingInfos' => $fetchedListingInfos,
1014
-                                                          'differencesDetected' => $differencesDetected
1015
-                                                      ]
1007
+                                                            'supportCachesForm' => $formSearch->createView(),
1008
+                                                            'supportUploadGPXForm' => $formUpload->createView(),
1009
+                                                            'amountProcessedCaches' => $amountProcessedCaches,
1010
+                                                            'amountAssignedCaches' => $amountAssignedCaches,
1011
+                                                            'amountUpdatedCaches' => $amountUpdatedCaches,
1012
+                                                            'listOfAmbiguousCaches' => $listOfAmbiguousCaches,
1013
+                                                            'fetchedListingInfos' => $fetchedListingInfos,
1014
+                                                            'differencesDetected' => $differencesDetected
1015
+                                                        ]
1016 1016
         );
1017 1017
     }
1018 1018
 
@@ -1065,7 +1065,7 @@  discard block
 block discarded – undo
1065 1065
 
1066 1066
             if ((($fetchedListingInfo->nodeListingAvailable == true) && ($fetchedOCCache->status != 1))
1067 1067
                 || (($fetchedListingInfo->nodeListingAvailable
1068
-                     == false)
1068
+                        == false)
1069 1069
                     && ($fetchedOCCache->status == 1))
1070 1070
             ) {
1071 1071
                 array_push($tempArray, 'OC status != import status');
@@ -1075,7 +1075,7 @@  discard block
 block discarded – undo
1075 1075
 
1076 1076
             if ((($fetchedListingInfo->nodeListingArchived == true) && ($fetchedOCCache->status != 3))
1077 1077
                 || (($fetchedListingInfo->nodeListingAvailable
1078
-                     == false)
1078
+                        == false)
1079 1079
                     && ($fetchedOCCache->status == 3))
1080 1080
             ) {
1081 1081
                 array_push($tempArray, 'OC status != import status');
@@ -1175,11 +1175,11 @@  discard block
 block discarded – undo
1175 1175
                     ] as $checkItem) {
1176 1176
                         if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) {
1177 1177
                             $newComment .= $checkItem
1178
-                                           . ' changed from '
1179
-                                           . $fetchedExistingSupportListingInfoArray[$checkItem]
1180
-                                           . ' to '
1181
-                                           . $wpt[$checkItem]
1182
-                                           . PHP_EOL;
1178
+                                            . ' changed from '
1179
+                                            . $fetchedExistingSupportListingInfoArray[$checkItem]
1180
+                                            . ' to '
1181
+                                            . $wpt[$checkItem]
1182
+                                            . PHP_EOL;
1183 1183
                         }
1184 1184
                     }
1185 1185
 
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.