[TASK] Apply CGL compatibility (PSR-1 and PSR-2) 19/47019/2
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 3 Mar 2016 19:06:48 +0000 (20:06 +0100)
committerBenni Mack <benni@typo3.org>
Thu, 3 Mar 2016 19:24:42 +0000 (20:24 +0100)
Change-Id: Ie0b546d6baf962ee4d80f5fb08aeaadf54ca1a66
Reviewed-on: https://review.typo3.org/47019
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
36 files changed:
typo3/sysext/about/Classes/Controller/ModulesController.php
typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php
typo3/sysext/backend/Classes/Controller/ClickMenuController.php
typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php
typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php
typo3/sysext/backend/Classes/History/RecordHistory.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Build/FunctionalTestsBootstrap.php
typo3/sysext/core/Build/UnitTestsBootstrap.php
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Classes/Localization/Locales.php
typo3/sysext/core/Classes/Messaging/FlashMessage.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/core/Tests/Acceptance/Backend/LoginBadCredentialsCest.php
typo3/sysext/core/Tests/Acceptance/Backend/LoginMouseOverCest.php
typo3/sysext/core/Tests/AcceptanceCoreEnvironment.php
typo3/sysext/core/Tests/FunctionalTestCase.php
typo3/sysext/core/Tests/Testbase.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php
typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php
typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php
typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ImageViewHelper.php
typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php
typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php
typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test/ext_emconf.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php
typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php
typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
typo3/sysext/rtehtmlarea/Classes/Controller/SelectImageController.php
typo3/sysext/rtehtmlarea/Classes/ImageHandler/AddImageHandler.php
typo3/sysext/rtehtmlarea/Configuration/Backend/AjaxRoutes.php

index 09cd4f3..ec113c3 100644 (file)
@@ -17,9 +17,7 @@ namespace TYPO3\CMS\About\Controller;
 use TYPO3\CMS\Backend\Module\ModuleLoader;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Backend\View\BackendTemplateView;
-use TYPO3\CMS\Core\Imaging\IconFactory;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
-use TYPO3\CMS\Core\Utility\PathUtility;
 use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
 use TYPO3\CMS\Extbase\Mvc\View\ViewInterface;
 use TYPO3\CMS\Lang\LanguageService;
index 7af80d8..318cb82 100644 (file)
@@ -27,7 +27,6 @@ use TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException;
 use TYPO3\CMS\Core\Resource\ResourceFactory;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Core\Utility\MathUtility;
-use TYPO3\CMS\Core\Utility\PathUtility;
 
 /**
  * Class to render the shortcut menu
index d8a3559..24428af 100644 (file)
@@ -18,7 +18,6 @@ use Psr\Http\Message\ResponseInterface;
 use Psr\Http\Message\ServerRequestInterface;
 use TYPO3\CMS\Backend\ClickMenu\ClickMenu;
 use TYPO3\CMS\Backend\Clipboard\Clipboard;
-use TYPO3\CMS\Backend\Template\DocumentTemplate;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /**
index 24fee0d..7feeb89 100644 (file)
@@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Imaging\Icon;
 use TYPO3\CMS\Core\Imaging\IconFactory;
 use TYPO3\CMS\Core\Imaging\IconRegistry;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
-use TYPO3\CMS\Core\Utility\PathUtility;
 
 /**
  * Repository for backend module menu
index 87f1bb2..89af1ee 100755 (executable)
@@ -15,7 +15,6 @@ namespace TYPO3\CMS\Backend;
  */
 
 use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
-use TYPO3\CMS\Core\Charset\CharsetConverter;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Lang\LanguageService;
 
index ed2e7df..0c8097e 100644 (file)
@@ -14,7 +14,6 @@ namespace TYPO3\CMS\Backend\History;
  * The TYPO3 project - inspiring people to share!
  */
 
-use TYPO3\CMS\Backend\Backend\Avatar\Avatar;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\DataHandling\DataHandler;
 use TYPO3\CMS\Core\Imaging\Icon;
index 0b474ea..e8bbe37 100755 (executable)
@@ -23,7 +23,6 @@ use TYPO3\CMS\Core\Database\PreparedStatement;
 use TYPO3\CMS\Core\Database\RelationHandler;
 use TYPO3\CMS\Core\Imaging\Icon;
 use TYPO3\CMS\Core\Imaging\IconFactory;
-use TYPO3\CMS\Core\Messaging\FlashMessage;
 use TYPO3\CMS\Core\Resource\AbstractFile;
 use TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException;
 use TYPO3\CMS\Core\Resource\File;
index afa8245..f7d5787 100644 (file)
@@ -17,7 +17,6 @@
  * before instantiating the test suites, it must also be included
  * with phpunit parameter --bootstrap if executing single test case classes.
  */
-
 call_user_func(function () {
     // Ensure cli only as security measure
     if (PHP_SAPI !== 'cli') {
@@ -30,4 +29,4 @@ call_user_func(function () {
     $testbase->defineOriginalRootPath();
     $testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/tests');
     $testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/transient');
-});
\ No newline at end of file
+});
index e2fb5fa..ed129a1 100644 (file)
@@ -26,7 +26,6 @@
  * - typo3/../bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml
  *     typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
  */
-
 call_user_func(function () {
     // Ensure cli only as security measure
     if (PHP_SAPI !== 'cli') {
@@ -69,4 +68,3 @@ call_user_func(function () {
         // Find all class names
         ->ensureClassLoadingInformationExists();
 });
-
index da89581..634efc7 100644 (file)
@@ -432,7 +432,6 @@ class RteHtmlParser extends HtmlParser
         return implode('', $imgSplit);
     }
 
-
     /**
      * Transformation handler: 'ts_links' / direction: "db"
      * Converting <A>-tags to <link tags>
index e8be8da..f863749 100644 (file)
@@ -211,7 +211,6 @@ class Locales implements \TYPO3\CMS\Core\SingletonInterface
         return $dependencies;
     }
 
-
     /**
      * Converts the language codes that we get from the client (usually HTTP_ACCEPT_LANGUAGE)
      * into a TYPO3-readable language code
@@ -260,5 +259,4 @@ class Locales implements \TYPO3\CMS\Core\SingletonInterface
         }
         return $selectedLanguage;
     }
-
 }
index 2484b14..1c25cd1 100644 (file)
@@ -14,8 +14,6 @@ namespace TYPO3\CMS\Core\Messaging;
  * The TYPO3 project - inspiring people to share!
  */
 
-use TYPO3\CMS\Core\Utility\GeneralUtility;
-
 /**
  * A class representing flash messages.
  */
index 5bd2670..84d8382 100644 (file)
@@ -1030,7 +1030,8 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface
      *
      * @return array
      */
-    protected function getPackageBasePaths() {
+    protected function getPackageBasePaths()
+    {
         if (empty($this->packagesBasePaths)) {
             // Check if the directory even exists and if it is not empty
             if (is_dir(PATH_typo3conf . 'ext') && count(scandir(PATH_typo3conf . 'ext')) > 2) {
index 6b16a82..a26e36d 100644 (file)
@@ -15,7 +15,6 @@ namespace TYPO3\CMS\Core\Utility;
  */
 
 use TYPO3\CMS\Core\Category\CategoryRegistry;
-use TYPO3\CMS\Core\Imaging\IconFactory;
 use TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider;
 use TYPO3\CMS\Core\Imaging\IconRegistry;
 use TYPO3\CMS\Core\Migrations\TcaMigration;
index d75d52e..39f6ce0 100644 (file)
@@ -1058,4 +1058,4 @@ return array(
             'showitem' => 'tsconfig_includes;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tsconfig_includes, --linebreak--, TSconfig;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.TSconfig_formlabel',
         )
     )
-);
\ No newline at end of file
+);
index cbbf436..7a6081a 100644 (file)
@@ -33,12 +33,12 @@ class LoginBadCredentialsCest
         $I->waitForElement('#t3-username');
 
         $I->wantTo('check empty credentials');
-        $required = $I->executeInSelenium(function(\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
+        $required = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
             return $webdriver->findElement(\WebDriverBy::cssSelector('#t3-username'))->getAttribute('required');
         });
         $I->assertEquals('true', $required, '#t3-username');
 
-        $required = $I->executeInSelenium(function(\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
+        $required = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
             return $webdriver->findElement(\WebDriverBy::cssSelector('#t3-password'))->getAttribute('required');
         });
         $I->assertEquals('true', $required, '#t3-password');
index 7004b02..cea7cd6 100644 (file)
@@ -35,13 +35,13 @@ class LoginMouseOverCest
 
         // Make sure mouse is not over submit button from a previous test
         $I->moveMouseOver('#t3-username');
-        $bs = $I->executeInSelenium(function(\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
+        $bs = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
             return $webdriver->findElement(\WebDriverBy::cssSelector('#t3-login-submit'))->getCSSValue('box-shadow');
         });
 
         $I->moveMouseOver('#t3-login-submit');
         $I->wait(1);
-        $bsmo = $I->executeInSelenium(function(\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
+        $bsmo = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
             return $webdriver->findElement(\WebDriverBy::cssSelector('#t3-login-submit'))->getCSSValue('box-shadow');
         });
         $I->assertFalse($bs === $bsmo);
index efcd25a..cd7e984 100644 (file)
@@ -14,8 +14,8 @@ namespace TYPO3\CMS\Core\Tests;
  * The TYPO3 project - inspiring people to share!
  */
 
-use Codeception\Events;
 use Codeception\Event\SuiteEvent;
+use Codeception\Events;
 use Codeception\Extension;
 use TYPO3\CMS\Core\Cache\Backend\NullBackend;
 
@@ -148,7 +148,8 @@ class AcceptanceCoreEnvironment extends Extension
      * @param SuiteEvent $suiteEvent
      * @throws Exception
      */
-    public function bootstrapTypo3Environment(SuiteEvent $suiteEvent) {
+    public function bootstrapTypo3Environment(SuiteEvent $suiteEvent)
+    {
         $testbase = new Testbase();
         $testbase->enableDisplayErrors();
         $testbase->defineBaseConstants();
@@ -221,11 +222,10 @@ class AcceptanceCoreEnvironment extends Extension
         // Alternative solution:
         // unset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['extbase']);
         $suite = $suiteEvent->getSuite();
-        $suite->setBackupGlobals(FALSE);
+        $suite->setBackupGlobals(false);
 
         foreach ($this->xmlDatabaseFixtures as $fixture) {
             $testbase->importXmlDatabaseFixture(ORIGINAL_ROOT . $fixture);
         }
     }
-
 }
index 8d6f8f7..491e6eb 100644 (file)
@@ -401,5 +401,4 @@ abstract class FunctionalTestCase extends BaseTestCase
         $response = new Response($result['status'], $result['content'], $result['error']);
         return $response;
     }
-
 }
index 979eb7e..5773412 100644 (file)
@@ -31,7 +31,8 @@ use TYPO3\CMS\Install\Service\SqlSchemaMigrationService;
  * Use the classes "UnitTestCase", "FunctionalTestCase" or "AcceptanceCoreEnvironment"
  * to indirectly benefit from this class in own extensions.
  */
-class Testbase {
+class Testbase
+{
 
     /**
      * Makes sure error messages during the tests get displayed no matter what is set in php.ini.
@@ -708,4 +709,4 @@ class Testbase {
         }
         return false;
     }
-}
\ No newline at end of file
+}
index 01711fc..cbc656f 100644 (file)
@@ -356,7 +356,8 @@ class HtmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
     /**
      * @return array
      */
-    public function stripEmptyTagsKeepsConfiguredTagsDataProvider() {
+    public function stripEmptyTagsKeepsConfiguredTagsDataProvider()
+    {
         return [
             array(
                 'tr,td',
@@ -381,7 +382,8 @@ class HtmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
      * @param string $content The HTML content that should be parsed.
      * @param string $expectedResult The expected HTML code result.
      */
-    public function stripEmptyTagsKeepsConfiguredTags($tagList, $treatNonBreakingSpaceAsEmpty, $content, $expectedResult) {
+    public function stripEmptyTagsKeepsConfiguredTags($tagList, $treatNonBreakingSpaceAsEmpty, $content, $expectedResult)
+    {
         $tsConfig = array(
             'keepNonMatchedTags' => 1,
             'stripEmptyTags' => 1,
index a830a6e..c36cf65 100644 (file)
@@ -15,7 +15,6 @@ namespace TYPO3\CMS\Core\Tests\Unit\Localization;
  */
 
 use TYPO3\CMS\Core\Localization\Locales;
-use TYPO3\CMS\Core\Localization\LocalizationFactory;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /**
index a41a30f..426accd 100644 (file)
@@ -1380,7 +1380,8 @@ class TcaMigrationTest extends UnitTestCase
      * @param array $givenConfig
      * @param array $expectedConfig
      */
-    public function migrateRemovesRteTransformOptions(array $givenConfig, array $expectedConfig) {
+    public function migrateRemovesRteTransformOptions(array $givenConfig, array $expectedConfig)
+    {
         $subject = new TcaMigration();
         $this->assertEquals($expectedConfig, $subject->migrate($givenConfig));
     }
index 78fe780..a9cd3fa 100644 (file)
@@ -140,7 +140,6 @@ class YouTubeRendererTest extends UnitTestCase
         $fileReferenceMock->expects($this->any())->method('getProperty')->will($this->returnValue(1));
         $fileReferenceMock->expects($this->any())->method('getOriginalFile')->willReturn($fileResourceMock);
 
-
         $this->assertSame(
             '<iframe src="//www.youtube.com/embed/7331?autohide=1&amp;controls=2&amp;autoplay=1&amp;enablejsapi=1&amp;origin=test.server.org&amp;showinfo=0" allowfullscreen width="300" height="200"></iframe>',
             $this->subject->render($fileReferenceMock, '300m', '200')
index d11004c..914906b 100644 (file)
@@ -15,9 +15,7 @@ namespace TYPO3\CMS\Fluid\ViewHelpers;
  *                                                                        */
 
 use TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException;
-use TYPO3\CMS\Core\Resource\FileInterface;
 use TYPO3\CMS\Core\Resource\FileReference;
-use TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder;
 
 /**
  * Resizes a given image (if required) and renders the respective img tag
index 628844b..48cb30a 100644 (file)
@@ -15,10 +15,8 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Uri;
  *                                                                        */
 
 use TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException;
-use TYPO3\CMS\Core\Resource\FileInterface;
 use TYPO3\CMS\Core\Resource\FileReference;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
-use TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder;
 use TYPO3\CMS\Extbase\Object\ObjectManager;
 use TYPO3\CMS\Extbase\Service\ImageService;
 use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface;
index 04c047e..8f3074c 100644 (file)
@@ -3,7 +3,6 @@ namespace TYPO3\Fluid\Tests\Functional;
 
 use TYPO3\CMS\Core\Tests\FunctionalTestCase;
 use TYPO3\CMS\Fluid\View\StandaloneView;
-use TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperResolver;
 
 class EscapeChildrenRenderingStandaloneTest extends FunctionalTestCase
 {
@@ -55,7 +54,6 @@ class EscapeChildrenRenderingStandaloneTest extends FunctionalTestCase
                 '<strong>Bla</strong>'
             ],
 
-
             'EscapeChildrenDisabledAndEscapeOutputDisabled: Tag syntax with children, properly encodes variable value' =>
             [
                 '<ft:escapeChildrenDisabledAndEscapeOutputDisabled>{settings.test}</ft:escapeChildrenDisabledAndEscapeOutputDisabled>',
@@ -110,8 +108,8 @@ class EscapeChildrenRenderingStandaloneTest extends FunctionalTestCase
     public function renderingTest($viewHelperTemplate, $expectedOutput)
     {
         $view = new StandaloneView();
-               $view->getRenderingContext()->getViewHelperResolver()->addNamespace('ft', 'TYPO3Fluid\\FluidTest\\ViewHelpers');
-               $view->getRenderingContext()->getTemplatePaths()->setTemplateSource($viewHelperTemplate);
+        $view->getRenderingContext()->getViewHelperResolver()->addNamespace('ft', 'TYPO3Fluid\\FluidTest\\ViewHelpers');
+        $view->getRenderingContext()->getTemplatePaths()->setTemplateSource($viewHelperTemplate);
 
         $view->assign('settings', ['test' => '<strong>Bla</strong>']);
 
index 6795881..273c941 100644 (file)
@@ -54,7 +54,6 @@ class EscapeChildrenRenderingTest extends FunctionalTestCase
                 '<strong>Bla</strong>'
             ],
 
-
             'EscapeChildrenDisabledAndEscapeOutputDisabled: Tag syntax with children, properly encodes variable value' =>
             [
                 '<ft:escapeChildrenDisabledAndEscapeOutputDisabled>{settings.test}</ft:escapeChildrenDisabledAndEscapeOutputDisabled>',
@@ -110,10 +109,10 @@ class EscapeChildrenRenderingTest extends FunctionalTestCase
     {
         $view = new TemplateView();
         $view->assign('settings', ['test' => '<strong>Bla</strong>']);
-        $templateString = "{namespace ft=TYPO3Fluid\\FluidTest\\ViewHelpers}";
+        $templateString = '{namespace ft=TYPO3Fluid\\FluidTest\\ViewHelpers}';
         $templateString .= $viewHelperTemplate;
-               $view->getRenderingContext()->getViewHelperResolver()->addNamespace('ft', 'TYPO3Fluid\\FluidTest\\ViewHelpers');
-               $view->getRenderingContext()->getTemplatePaths()->setTemplateSource($viewHelperTemplate);
+        $view->getRenderingContext()->getViewHelperResolver()->addNamespace('ft', 'TYPO3Fluid\\FluidTest\\ViewHelpers');
+        $view->getRenderingContext()->getTemplatePaths()->setTemplateSource($viewHelperTemplate);
 
         $this->assertSame($expectedOutput, $view->render());
     }
index 8f98522..fadb716 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-$EM_CONF[$_EXTKEY] = array (
+$EM_CONF[$_EXTKEY] = array(
   'title' => 'Extension skeleton for TYPO3 7',
   'description' => 'Description for ext',
   'category' => 'Example Extensions',
@@ -17,30 +17,30 @@ $EM_CONF[$_EXTKEY] = array (
   'clearCacheOnLoad' => 0,
   'lockType' => '',
   'version' => '0.0.2',
-  'constraints' => 
-  array (
-    'depends' => 
-    array (
+  'constraints' =>
+  array(
+    'depends' =>
+    array(
       'typo3' => '7.5.0-7.99.99',
     ),
-    'conflicts' => 
-    array (
+    'conflicts' =>
+    array(
     ),
-    'suggests' => 
-    array (
+    'suggests' =>
+    array(
     ),
   ),
-  'autoload' => 
-  array (
-    'psr-4' => 
-    array (
+  'autoload' =>
+  array(
+    'psr-4' =>
+    array(
       'TYPO3Fluid\\FluidTest\\' => 'Classes',
     ),
   ),
-  'autoload-dev' => 
-  array (
-    'psr-4' => 
-    array (
+  'autoload-dev' =>
+  array(
+    'psr-4' =>
+    array(
       'TYPO3Fluid\\FluidTest\\Tests\\' => 'Tests',
     ),
   ),
index 93076db..0247404 100755 (executable)
@@ -18,7 +18,6 @@ use Psr\Log\LoggerInterface;
 use TYPO3\CMS\Core\Charset\CharsetConverter;
 use TYPO3\CMS\Core\Core\ApplicationContext;
 use TYPO3\CMS\Core\Log\LogManager;
-use TYPO3\CMS\Core\TimeTracker\TimeTracker;
 use TYPO3\CMS\Core\TypoScript\TemplateService;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Frontend\ContentObject\AbstractContentObject;
index 869d945..ff0e06a 100644 (file)
@@ -16,7 +16,6 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Controller;
 
 use TYPO3\CMS\Core\Cache\CacheManager;
 use TYPO3\CMS\Core\Database\DatabaseConnection;
-use TYPO3\CMS\Core\TimeTracker\TimeTracker;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
 use TYPO3\CMS\Frontend\Page\PageRepository;
index b577d45..bb966a5 100644 (file)
@@ -144,7 +144,6 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
                     $url = BackendUtility::getModuleUrl('record_edit', $urlParameters);
                     $editIcon = htmlspecialchars($url);
                     $editTitle = 'editTSconfig_all';
-
                 } else {
                     $editIcon = '';
                     $editTitle = '';
index f825384..48568a5 100644 (file)
@@ -333,7 +333,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
                                                        <div class="btn-group">' . $ATag . '<span title="' .  $lang->getLL('addToList', true) . '">' . $this->iconFactory->getIcon('actions-edit-add', Icon::SIZE_SMALL)->render() . '</span>' . $ATag_e . '
                                                        <a href="' . htmlspecialchars($Ahref) . '" class="btn btn-default" title="' . $lang->getLL('info', true) . '">' . $this->iconFactory->getIcon('actions-document-info', Icon::SIZE_SMALL) . '</a>
                                                </td>
-                                               <td class="col-clipboard" valign="top">'. $bulkCheckBox .'</td>
+                                               <td class="col-clipboard" valign="top">' . $bulkCheckBox . '</td>
                                                <td nowrap="nowrap">&nbsp;' . $pDim . '</td>
                                        </tr>';
             if ($pDim) {
index 7a825d9..fb6e15a 100644 (file)
@@ -259,14 +259,16 @@ class SelectImageController extends AbstractLinkBrowserController
     /**
      * @return array
      */
-    public function getButtonConfiguration() {
+    public function getButtonConfiguration()
+    {
         return $this->buttonConfig;
     }
 
     /**
      * @return array
      */
-    public function getRteProperties() {
+    public function getRteProperties()
+    {
         return $this->RTEProperties;
     }
 
index 2975c43..0aecd4b 100644 (file)
@@ -145,7 +145,6 @@ class AddImageHandler implements LinkParameterProviderInterface, LinkHandlerInte
             : $buttonConfiguration['options.']['plain.']['maxHeight'];
 
         $this->getLanguageService()->includeLLFile('EXT:rtehtmlarea/Resources/Private/Language/locallang_selectimagecontroller.xlf');
-
     }
 
     /**
@@ -398,7 +397,7 @@ class AddImageHandler implements LinkParameterProviderInterface, LinkHandlerInte
                                                        <div class="btn-group">' . $ATag . '<span title="' .  $lang->getLL('addToList', true) . '">' . $this->iconFactory->getIcon('actions-edit-add', Icon::SIZE_SMALL)->render() . '</span>' . $ATag_e . '
                                                        <a href="' . htmlspecialchars($Ahref) . '" class="btn btn-default" title="' . $lang->getLL('info', true) . '">' . $this->iconFactory->getIcon('actions-document-info', Icon::SIZE_SMALL) . '</a>
                                                </td>
-                                               <td class="col-clipboard" valign="top">'. $bulkCheckBox .'</td>
+                                               <td class="col-clipboard" valign="top">' . $bulkCheckBox . '</td>
                                                <td nowrap="nowrap">&nbsp;' . $pDim . '</td>
                                        </tr>';
             if ($pDim) {
@@ -428,7 +427,6 @@ class AddImageHandler implements LinkParameterProviderInterface, LinkHandlerInte
         return $out;
     }
 
-
     /**
      * Get a list of Files in a folder filtered by extension
      *