@@ -180,9 +180,9 @@ discard block |
||
| 180 | 180 | |
| 181 | 181 | return $this->render( |
| 182 | 182 | 'backend/support/searchedCaches.html.twig', [ |
| 183 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 184 | - 'foundCaches' => $fetchedCaches |
|
| 185 | - ] |
|
| 183 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 184 | + 'foundCaches' => $fetchedCaches |
|
| 185 | + ] |
|
| 186 | 186 | ); |
| 187 | 187 | } |
| 188 | 188 | |
@@ -201,9 +201,9 @@ discard block |
||
| 201 | 201 | |
| 202 | 202 | return $this->render( |
| 203 | 203 | 'backend/support/reportedCaches.html.twig', [ |
| 204 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 205 | - 'reportedCaches_by_id' => $fetchedReports |
|
| 206 | - ] |
|
| 204 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 205 | + 'reportedCaches_by_id' => $fetchedReports |
|
| 206 | + ] |
|
| 207 | 207 | ); |
| 208 | 208 | } |
| 209 | 209 | |
@@ -221,9 +221,9 @@ discard block |
||
| 221 | 221 | |
| 222 | 222 | return $this->render( |
| 223 | 223 | 'backend/support/bonusCaches.html.twig', [ |
| 224 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 225 | - 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 226 | - ] |
|
| 224 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 225 | + 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 226 | + ] |
|
| 227 | 227 | ); |
| 228 | 228 | } |
| 229 | 229 | |
@@ -264,10 +264,10 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | return $this->render( |
| 266 | 266 | 'backend/support/databaseQueries.html.twig', [ |
| 267 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 268 | - 'SQLFlexForm' => $form->createView(), |
|
| 269 | - 'suppSQLqueryFlex' => $fetchedInformation |
|
| 270 | - ] |
|
| 267 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 268 | + 'SQLFlexForm' => $form->createView(), |
|
| 269 | + 'suppSQLqueryFlex' => $fetchedInformation |
|
| 270 | + ] |
|
| 271 | 271 | ); |
| 272 | 272 | } |
| 273 | 273 | |
@@ -395,16 +395,16 @@ discard block |
||
| 395 | 395 | |
| 396 | 396 | return $this->render( |
| 397 | 397 | 'backend/support/occ.html.twig', [ |
| 398 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 399 | - 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 400 | - 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 401 | - 'occ_cache_data' => $fetchedCacheData, |
|
| 402 | - 'occ_cache_comments' => $fetchedCacheComments, |
|
| 403 | - 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 404 | - 'occ_user_data' => $fetchedUserData, |
|
| 405 | - 'occ_user_comments' => $fetchedUserComments, |
|
| 406 | - 'occ_user_relations' => $fetchedUserRelations |
|
| 407 | - ] |
|
| 398 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 399 | + 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 400 | + 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 401 | + 'occ_cache_data' => $fetchedCacheData, |
|
| 402 | + 'occ_cache_comments' => $fetchedCacheComments, |
|
| 403 | + 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 404 | + 'occ_user_data' => $fetchedUserData, |
|
| 405 | + 'occ_user_comments' => $fetchedUserComments, |
|
| 406 | + 'occ_user_relations' => $fetchedUserRelations |
|
| 407 | + ] |
|
| 408 | 408 | ); |
| 409 | 409 | } |
| 410 | 410 | |
@@ -528,10 +528,10 @@ discard block |
||
| 528 | 528 | |
| 529 | 529 | return $this->render( |
| 530 | 530 | 'backend/support/userDetails.html.twig', [ |
| 531 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 532 | - 'supportUserAccountActions' => $formActions->createView(), |
|
| 533 | - 'user_account_details' => $fetchedUserDetails |
|
| 534 | - ] |
|
| 531 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 532 | + 'supportUserAccountActions' => $formActions->createView(), |
|
| 533 | + 'user_account_details' => $fetchedUserDetails |
|
| 534 | + ] |
|
| 535 | 535 | ); |
| 536 | 536 | } |
| 537 | 537 | |
@@ -620,9 +620,9 @@ discard block |
||
| 620 | 620 | |
| 621 | 621 | return $this->render( |
| 622 | 622 | 'backend/support/databaseQueries.html.twig', [ |
| 623 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 624 | - 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
| 625 | - ] |
|
| 623 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 624 | + 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
| 625 | + ] |
|
| 626 | 626 | ); |
| 627 | 627 | } |
| 628 | 628 | |
@@ -646,9 +646,9 @@ discard block |
||
| 646 | 646 | |
| 647 | 647 | return $this->render( |
| 648 | 648 | 'backend/support/databaseQueries.html.twig', [ |
| 649 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 650 | - 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
| 651 | - ] |
|
| 649 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 650 | + 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
| 651 | + ] |
|
| 652 | 652 | ); |
| 653 | 653 | } |
| 654 | 654 | |
@@ -674,9 +674,9 @@ discard block |
||
| 674 | 674 | |
| 675 | 675 | return $this->render( |
| 676 | 676 | 'backend/support/databaseQueries.html.twig', [ |
| 677 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 678 | - 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
| 679 | - ] |
|
| 677 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 678 | + 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
| 679 | + ] |
|
| 680 | 680 | ); |
| 681 | 681 | } |
| 682 | 682 | |
@@ -692,9 +692,9 @@ discard block |
||
| 692 | 692 | |
| 693 | 693 | return $this->render( |
| 694 | 694 | 'backend/support/databaseQueries.html.twig', [ |
| 695 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 696 | - 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
| 697 | - ] |
|
| 695 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 696 | + 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
| 697 | + ] |
|
| 698 | 698 | ); |
| 699 | 699 | } |
| 700 | 700 | |
@@ -799,15 +799,15 @@ discard block |
||
| 799 | 799 | |
| 800 | 800 | return $this->render( |
| 801 | 801 | 'backend/support/occ_gpx_import.html.twig', [ |
| 802 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 803 | - 'supportUploadGPXForm' => $formUpload->createView(), |
|
| 804 | - 'amountProcessedCaches' => $amountProcessedCaches, |
|
| 805 | - 'amountAssignedCaches' => $amountAssignedCaches, |
|
| 806 | - 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
| 807 | - 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
| 808 | - 'fetchedListingInfos' => $fetchedListingInfos, |
|
| 809 | - 'differencesDetected' => $differencesDetected |
|
| 810 | - ] |
|
| 802 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 803 | + 'supportUploadGPXForm' => $formUpload->createView(), |
|
| 804 | + 'amountProcessedCaches' => $amountProcessedCaches, |
|
| 805 | + 'amountAssignedCaches' => $amountAssignedCaches, |
|
| 806 | + 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
| 807 | + 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
| 808 | + 'fetchedListingInfos' => $fetchedListingInfos, |
|
| 809 | + 'differencesDetected' => $differencesDetected |
|
| 810 | + ] |
|
| 811 | 811 | ); |
| 812 | 812 | } |
| 813 | 813 | |
@@ -959,11 +959,11 @@ discard block |
||
| 959 | 959 | ] as $checkItem) { |
| 960 | 960 | if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) { |
| 961 | 961 | $newComment .= $checkItem |
| 962 | - . ' changed from ' |
|
| 963 | - . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
| 964 | - . ' to ' |
|
| 965 | - . $wpt[$checkItem] |
|
| 966 | - . PHP_EOL; |
|
| 962 | + . ' changed from ' |
|
| 963 | + . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
| 964 | + . ' to ' |
|
| 965 | + . $wpt[$checkItem] |
|
| 966 | + . PHP_EOL; |
|
| 967 | 967 | } |
| 968 | 968 | } |
| 969 | 969 | |
@@ -27,14 +27,14 @@ discard block |
||
| 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 |
||
| 45 | 45 | ) |
| 46 | 46 | ->add( |
| 47 | 47 | 'start_upload', SubmitType::class, [ |
| 48 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'], |
|
| 49 | - 'label' => ' |
|