[TASK] Remove duplicated semicolons 33/44833/3
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 20 Nov 2015 16:07:57 +0000 (17:07 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 20 Nov 2015 16:39:47 +0000 (17:39 +0100)
Resolves: #71737
Releases: master
Change-Id: Id8b107e7fe3486f6d829c8737d5450f9f6e6531b
Reviewed-on: https://review.typo3.org/44833
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/.php_cs
typo3/sysext/backend/Classes/Controller/Wizard/TableController.php
typo3/sysext/documentation/Classes/ViewHelpers/FormatsViewHelper.php

index c924a6a..a9955df 100644 (file)
@@ -62,6 +62,7 @@ return Symfony\CS\Config\Config::create()
         'concat_with_spaces',
         'whitespacy_lines',
         'ordered_use',
-        'single_quote'
+        'single_quote',
+        'duplicate_semicolon'
     ])
     ->finder($finder);
\ No newline at end of file
index 4861837..a550f7a 100644 (file)
@@ -166,7 +166,6 @@ class TableController extends AbstractWizardController
         } else {
             $this->content .= '<h2>' . $this->getLanguageService()->getLL('table_title', true) . '</h2>'
                 . '<div><span class="text-danger">' . $this->getLanguageService()->getLL('table_noData', true) . '</span></div>';
-            ;
         }
         $this->content .= '</form>';
         // Setting up the buttons and markers for docHeader
index 4ca27be..7baad7a 100644 (file)
@@ -125,7 +125,7 @@ class FormatsViewHelper extends AbstractViewHelper implements CompilableInterfac
                 $iconHtml = $iconFactory->getIcon('actions-system-extension-documentation', Icon::SIZE_SMALL)->render();
                 break;
             default:
-                $iconHtml = $iconFactory->getIconForFileExtension($extension, Icon::SIZE_SMALL)->render();;
+                $iconHtml = $iconFactory->getIconForFileExtension($extension, Icon::SIZE_SMALL)->render();
         }
         return $iconHtml;
     }