[TASK] CGL Cleanup: Fix TYPO3.Strings.ConcatenationSpacing-Sniff 71/32071/3
authorAndy Grunwald <andygrunwald@gmail.com>
Sun, 10 Aug 2014 18:05:07 +0000 (20:05 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Aug 2014 19:54:07 +0000 (21:54 +0200)
Resolves: #60878
Releases: 6.3
Change-Id: I2cc8ec067adcc66bdd589104d03f20c385e52e99
Reviewed-on: http://review.typo3.org/32071
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
38 files changed:
typo3/sysext/backend/Classes/Clipboard/Clipboard.php
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php
typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php
typo3/sysext/backend/Classes/Controller/File/EditFileController.php
typo3/sysext/backend/Classes/Controller/File/FileUploadController.php
typo3/sysext/backend/Classes/Controller/File/RenameFileController.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php
typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
typo3/sysext/backend/Classes/View/BackendLayoutView.php
typo3/sysext/core/Classes/Package/DependencyResolver.php
typo3/sysext/core/Classes/Resource/Service/FrontendContentAdapterService.php
typo3/sysext/core/Classes/Resource/Utility/BackendUtility.php
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Files.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.1ncsv.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.1nff.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnattr.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnmmasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnsym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/ext_tables.php
typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LowerCase.php
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/UpperCase.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/install/Classes/SystemEnvironment/Check.php
typo3/sysext/install/Classes/Updates/InitUpdateWizard.php
typo3/sysext/lang/Classes/Utility/Connection/Ter.php
typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php

index 4750112..70668d8 100644 (file)
@@ -569,7 +569,7 @@ class Clipboard {
                        ($setRedirect ? 'redirect=' . rawurlencode(GeneralUtility::linkThisScript(array('CB' => ''))) : '') .
                        '&vC=' . $GLOBALS['BE_USER']->veriCode() .
                        '&prErr=1&uPT=1' .
-                       '&CB[paste]=' .  rawurlencode($table . '|' . $uid) .
+                       '&CB[paste]=' . rawurlencode($table . '|' . $uid) .
                        '&CB[pad]=' . $this->current .
                        (is_array($update) ? GeneralUtility::implodeArrayForUrl('CB[update]', $update) : '') .
                        BackendUtility::getUrlToken('tceAction');
index ae1c8b1..512ebe1 100644 (file)
@@ -215,7 +215,7 @@ class NewContentElementController {
                                                // Onclick action for icon/title:
                                                $aOnClick = 'document.getElementsByName(\'tempB\')[' . $cc . '].checked=1;' . $oC . 'return false;';
                                        } else {
-                                               $aOnClick = "document.editForm.defValues.value=unescape('".rawurlencode($wInfo['params'])."');goToalt_doc();".(!$this->onClickEvent?"window.location.hash='#sel2';":'');
+                                               $aOnClick = "document.editForm.defValues.value=unescape('" . rawurlencode($wInfo['params']) . "');goToalt_doc();" . (!$this->onClickEvent?"window.location.hash='#sel2';":'');
                                        }
 
                                        $menuItems[$key]['content'] .=
index ed84fde..b747c16 100644 (file)
@@ -181,7 +181,7 @@ class CreateFolderController {
                                        <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.submit', TRUE) . '" />
                                        <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', TRUE) . '" onclick="backToList(); return false;" />
                                        <input type="hidden" name="redirect" value="' . htmlspecialchars($this->returnUrl) . '" />
-                                       '. \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
+                                       ' . \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
                                </div>
                                ';
                        // CSH:
@@ -217,7 +217,7 @@ class CreateFolderController {
                                        <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.newfile_submit', TRUE) . '" />
                                        <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', TRUE) . '" onclick="backToList(); return false;" />
                                        <input type="hidden" name="redirect" value="' . htmlspecialchars($this->returnUrl) . '" />
-                                       '. \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
+                                       ' . \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
                                </div>
                                ';
                        // CSH:
index 83464f8..a3eeee1 100644 (file)
@@ -158,7 +158,7 @@ class EditFileController {
                                        <textarea rows="30" name="file[editfile][0][data]" wrap="off"' . $this->doc->formWidth(48, TRUE, 'width:98%;height:80%') . ' class="fixed-font enable-tab">' . GeneralUtility::formatForTextarea($fileContent) . '</textarea>
                                        <input type="hidden" name="file[editfile][0][target]" value="' . $this->fileObject->getUid() . '" />
                                        <input type="hidden" name="redirect" value="' . htmlspecialchars($hValue) . '" />
-                                       '. \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
+                                       ' . \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
                                </div>
                                <br />';
                        // Make shortcut:
index 2c9d57c..a3813a2 100644 (file)
@@ -175,7 +175,7 @@ class FileUploadController {
                $content .= '
                        <div id="c-submit">
                                <input type="hidden" name="redirect" value="' . $this->returnUrl . '" /><br />
-                               '. \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
+                               ' . \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
                                <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_upload.php.submit', TRUE) . '" />
                        </div>
                ';
index 6898473..601dc96 100644 (file)
@@ -154,7 +154,7 @@ class RenameFileController {
                                <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_rename.php.submit', TRUE) . '" />
                                <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', TRUE) . '" onclick="backToList(); return false;" />
                                <input type="hidden" name="redirect" value="' . htmlspecialchars($this->returnUrl) . '" />
-                               '. \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
+                               ' . \TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField('tceAction') . '
                        </div>
                ';
                $code .= '</form>';
index f42dfad..304c3a4 100644 (file)
@@ -2151,7 +2151,7 @@ TBE_EDITOR.customEvalFunctions[\'' . $evalData . '\'] = function(value) {
                        // if there is an icon ($p[2]), icons should be shown, and, if only selected are visible, is it selected
                        if ($p[2] && !$suppressIcons && (!$onlySelectedIconShown || $sM)) {
                                list($selIconFile, $selIconInfo) = $this->getIcon($p[2]);
-                               $iOnClick = $this->elName($PA['itemFormElName']) . '.selectedIndex=' . $c . '; '. $this->elName($PA['itemFormElName']);
+                               $iOnClick = $this->elName($PA['itemFormElName']) . '.selectedIndex=' . $c . '; ' . $this->elName($PA['itemFormElName']);
                                $iOnClickOptions = $this->elName($PA['itemFormElName']) . '.options[' . $c . ']';
                                if (empty($selIconInfo)) {
                                        $iOnClick .= '.className=' . $iOnClickOptions . '.className; ';
@@ -2574,7 +2574,7 @@ TBE_EDITOR.customEvalFunctions[\'' . $evalData . '\'] = function(value) {
                                $this->multiSelectFilterCount++;
                                $jsSelectBoxFilterName = str_replace(' ', '', ucwords(str_replace('-', ' ', GeneralUtility::strtolower($multiSelectId))));
                                $this->additionalJS_post[] = '
-                                       var '. $jsSelectBoxFilterName . ' = new TCEForms.SelectBoxFilter("' . $multiSelectId . '");
+                                       var ' . $jsSelectBoxFilterName . ' = new TCEForms.SelectBoxFilter("' . $multiSelectId . '");
                                ';
                        }
 
index 4bd4e69..e5af453 100644 (file)
@@ -576,7 +576,7 @@ function jumpToUrl(URL) {
                        $iconImgTag = $this->wrapClickMenuOnIcon($iconImgTag, 'sys_file_metadata', $metaData['uid']);
                }
 
-               return '<span class="typo3-moduleHeader">' . $iconImgTag .  $tWrap[0] . htmlspecialchars(GeneralUtility::fixed_lgd_cs($resource->getName(), 45)) .  $tWrap[1] . '</span>';
+               return '<span class="typo3-moduleHeader">' . $iconImgTag . $tWrap[0] . htmlspecialchars(GeneralUtility::fixed_lgd_cs($resource->getName(), 45)) . $tWrap[1] . '</span>';
        }
 
        /**
index 0f569af..f2cd327 100644 (file)
@@ -112,7 +112,7 @@ class Commands {
                        $data['pages'][$node->getWorkspaceId()][$node->getTextSourceField()] = $updatedLabel;
                        self::processTceCmdAndDataMap(array(), $data);
                } else {
-                       throw new \RuntimeException(implode(chr(10), array('Editing title of page id \'' . $node->getWorkspaceId() .  '\' failed. Editing default language is not allowed.')), 1365513336);
+                       throw new \RuntimeException(implode(chr(10), array('Editing title of page id \'' . $node->getWorkspaceId() . '\' failed. Editing default language is not allowed.')), 1365513336);
                }
        }
 
index 8331976..4b3f033 100644 (file)
@@ -415,7 +415,7 @@ abstract class AbstractTreeView {
                        $this->ids = $curIds;
                        // Set PM icon for root of mount:
                        $cmd = $this->bank . '_' . ($isOpen ? '0_' : '1_') . $uid . '_' . $this->treeName;
-                       $icon = IconUtility::getSpriteIcon('treeline-'. ($isOpen ? 'minus' : 'plus') . 'only');
+                       $icon = IconUtility::getSpriteIcon('treeline-' . ($isOpen ? 'minus' : 'plus') . 'only');
 
                        $firstHtml = $this->PM_ATagWrap($icon, $cmd);
                        // Preparing rootRec for the mount
index 4c14264..5587ebe 100644 (file)
@@ -144,7 +144,7 @@ class BackendLayoutView implements \TYPO3\CMS\Core\SingletonInterface {
                        // so there is no pid to get the backendLayout for and we have to get that first
                        if ($data['pid'] < 0) {
                                $existingElement = $this->getDatabaseConnection()->exec_SELECTgetSingleRow(
-                                       'pid', $tableName, 'uid='  . abs($data['pid'])
+                                       'pid', $tableName, 'uid=' . abs($data['pid'])
                                );
                                if ($existingElement !== NULL) {
                                        $pageId = $existingElement['pid'];
index aed6c13..ad8627e 100644 (file)
@@ -138,7 +138,7 @@ class DependencyResolver {
                        foreach ($dependentPackageKeys as $dependentPackageKey) {
                                if (!in_array($dependentPackageKey, $packageKeys)) {
                                        throw new \UnexpectedValueException(
-                                               'The package "' . $packageKey .'" depends on "'
+                                               'The package "' . $packageKey . '" depends on "'
                                                . $dependentPackageKey . '" which is not present in the system.',
                                                1382276561);
                                }
index 37ac8db..2d65e0b 100644 (file)
@@ -108,8 +108,8 @@ class FrontendContentAdapterService {
                                                $fileFieldContents['captions'][] = $fileProperties['description'];
                                                $fileFieldContents['links'][] = $fileProperties['link'];
                                                $fileFieldContents['alternativeTexts'][] = $fileProperties['alternative'];
-                                               $fileFieldContents[$migrateFieldName .  '_fileUids'][] = $file->getOriginalFile()->getUid();
-                                               $fileFieldContents[$migrateFieldName .  '_fileReferenceUids'][] = $file->getUid();
+                                               $fileFieldContents[$migrateFieldName . '_fileUids'][] = $file->getOriginalFile()->getUid();
+                                               $fileFieldContents[$migrateFieldName . '_fileReferenceUids'][] = $file->getUid();
                                        }
                                        foreach ($oldFieldNames as $oldFieldType => $oldFieldName) {
                                                if ($oldFieldType === '__typeMatch') {
index e477bab..418f9ad 100644 (file)
@@ -29,7 +29,7 @@ class BackendUtility {
                /** @var \TYPO3\CMS\Core\Messaging\FlashMessage $flashMessage */
                $flashMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.file_missing_text') .
-                       ' <abbr title="' . htmlspecialchars($file->getStorage()->getName() . ' :: '.$file->getIdentifier()) . '">' .
+                       ' <abbr title="' . htmlspecialchars($file->getStorage()->getName() . ' :: ' . $file->getIdentifier()) . '">' .
                        htmlspecialchars($file->getName()) . '</abbr>',
                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.file_missing'),
                        \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR
index 914d724..f34bcea 100644 (file)
@@ -39,7 +39,7 @@ class Files {
         * @return string
         */
        static public function getNormalizedPath($path) {
-               return rtrim($path, '/') .'/';
+               return rtrim($path, '/') . '/';
        }
 
        /**
index 98760c5..f534a59 100644 (file)
@@ -18,8 +18,8 @@ $TCA['tx_irretutorial_1ncsv_hotel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.1ncsv.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1ncsv.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'shadowColumnsForNewPlaceholders' => 'offers',
@@ -49,8 +49,8 @@ $TCA['tx_irretutorial_1ncsv_offer'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.1ncsv.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1ncsv.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'shadowColumnsForNewPlaceholders' => 'prices',
@@ -80,8 +80,8 @@ $TCA['tx_irretutorial_1ncsv_price'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.1ncsv.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1ncsv.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
index 613e010..e896142 100644 (file)
@@ -18,8 +18,8 @@ $TCA['tx_irretutorial_1nff_hotel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.1nff.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1nff.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
@@ -50,8 +50,8 @@ $TCA['tx_irretutorial_1nff_offer'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.1nff.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1nff.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
@@ -82,8 +82,8 @@ $TCA['tx_irretutorial_1nff_price'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.1nff.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1nff.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
index 77cd8ad..415b715 100644 (file)
@@ -18,8 +18,8 @@ $TCA['tx_irretutorial_mnasym_hotel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
@@ -46,8 +46,8 @@ $TCA['tx_irretutorial_mnasym_hotel_offer_rel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel_offer_rel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel_offer_rel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
@@ -77,8 +77,8 @@ $TCA['tx_irretutorial_mnasym_offer'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
@@ -106,8 +106,8 @@ $TCA['tx_irretutorial_mnasym_price'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
index d1541b2..03c42fb 100644 (file)
@@ -18,8 +18,8 @@ $TCA['tx_irretutorial_mnattr_hotel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnattr.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnattr.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
@@ -46,8 +46,8 @@ $TCA['tx_irretutorial_mnattr_hotel_offer_rel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnattr.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel_offer_rel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnattr.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel_offer_rel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
@@ -77,8 +77,8 @@ $TCA['tx_irretutorial_mnattr_offer'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnattr.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnattr.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
index 39f3d97..6ce9d5d 100644 (file)
@@ -18,8 +18,8 @@ $TCA['tx_irretutorial_mnmmasym_hotel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnmmasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnmmasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
@@ -47,8 +47,8 @@ $TCA['tx_irretutorial_mnmmasym_offer'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnmmasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnmmasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
@@ -76,8 +76,8 @@ $TCA['tx_irretutorial_mnmmasym_price'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnmmasym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnmmasym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
index 774d8e4..487480b 100644 (file)
@@ -18,8 +18,8 @@ $TCA['tx_irretutorial_mnsym_hotel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnsym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnsym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                'dividers2tabs' => TRUE,
@@ -46,8 +46,8 @@ $TCA['tx_irretutorial_mnsym_hotel_rel'] = array(
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
-               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnsym.php',
-               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel_rel.gif',
+               'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.mnsym.php',
+               'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel_rel.gif',
                'versioningWS' => 2,
                'origUid' => 't3_origuid',
                // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
index f6c6fdc..73000d6 100644 (file)
@@ -5,12 +5,12 @@ defined('TYPO3_MODE') or die();
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'IRRE Tutorial');
 
        // ext_tables.php is split to each single part of application
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.general.php';
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.1nff.php';
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.mnasym.php';
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.mnmmasym.php';
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.mnsym.php';
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.mnattr.php';
-require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)).'Configuration/ExtTables/ext_tables.1ncsv.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.general.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.1nff.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.mnasym.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.mnmmasym.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.mnsym.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.mnattr.php';
+require(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)) . 'Configuration/ExtTables/ext_tables.1ncsv.php';
 
 ?>
\ No newline at end of file
index 8a07207..b579c70 100644 (file)
@@ -215,7 +215,7 @@ class FunctionalTestCaseBootstrapUtility {
                                        1376745645
                                );
                        }
-                       $destinationPath = $this->instancePath . '/typo3conf/ext/'. basename($absoluteExtensionPath);
+                       $destinationPath = $this->instancePath . '/typo3conf/ext/' . basename($absoluteExtensionPath);
                        $success = symlink($absoluteExtensionPath, $destinationPath);
                        if (!$success) {
                                throw new Exception(
@@ -301,9 +301,9 @@ class FunctionalTestCaseBootstrapUtility {
                }
 
                // Base of final LocalConfiguration is core factory configuration
-               $finalConfigurationArray = require ORIGINAL_ROOT .'typo3/sysext/core/Configuration/FactoryConfiguration.php';
+               $finalConfigurationArray = require ORIGINAL_ROOT . 'typo3/sysext/core/Configuration/FactoryConfiguration.php';
 
-               $this->mergeRecursiveWithOverrule($finalConfigurationArray, require ORIGINAL_ROOT .'typo3/sysext/core/Build/Configuration/FunctionalTestsConfiguration.php');
+               $this->mergeRecursiveWithOverrule($finalConfigurationArray, require ORIGINAL_ROOT . 'typo3/sysext/core/Build/Configuration/FunctionalTestsConfiguration.php');
                $this->mergeRecursiveWithOverrule($finalConfigurationArray, $configurationToMerge);
                $finalConfigurationArray['DB'] = $originalConfigurationArray['DB'];
                // Calculate and set new database name
index f116cf6..ae72b6b 100644 (file)
@@ -505,7 +505,7 @@ class RteHtmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                        ),
                        'Double empty paragraph' => array(
                                '<p></p><p></p>',
-                               '<p>&nbsp;</p>'. CRLF . '<p>&nbsp;</p>',
+                               '<p>&nbsp;</p>' . CRLF . '<p>&nbsp;</p>',
                        ),
                        'Triple empty paragraph' => array(
                                '<p></p><p></p><p></p>',
index b7cf6c5..faa2684 100644 (file)
@@ -78,9 +78,9 @@ class ExtensionManagementUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                        eval(
                                'namespace ' . __NAMESPACE__ . ';' .
                                'class ' . $className . ' extends \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility {' .
-                               '  static public function setCacheManager(\TYPO3\CMS\Core\Cache\CacheManager $cacheManager = NULL) {'.
-                               '    static::$cacheManager = $cacheManager;'.
-                               '  }'.
+                               '  static public function setCacheManager(\TYPO3\CMS\Core\Cache\CacheManager $cacheManager = NULL) {' .
+                               '    static::$cacheManager = $cacheManager;' .
+                               '  }' .
                                '  public static function getPackageManager() {' .
                                '    return static::$packageManager;' .
                                '  }' .
@@ -1247,7 +1247,7 @@ class ExtensionManagementUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                ExtensionManagementUtility::clearExtensionKeyMap();
                $className = uniqid('ExtensionManagementUtility');
                eval(
-                       'namespace ' . __NAMESPACE__ .';' .
+                       'namespace ' . __NAMESPACE__ . ';' .
                        'class ' . $className . ' extends \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility {' .
                        '  public static function isLoaded() {' .
                        '    return TRUE;' .
index 294e94b..0e20835 100644 (file)
@@ -62,6 +62,6 @@ class LowerCase implements LowerCaseInterface {
         * @return string the property name; non-null
         */
        public function getPropertyName() {
-               return 'LOWER' .  $this->operand->getPropertyName();
+               return 'LOWER' . $this->operand->getPropertyName();
        }
 }
index 7fe76a2..0c7284a 100644 (file)
@@ -64,6 +64,6 @@ class UpperCase implements UpperCaseInterface {
         * @return string the property name; non-null
         */
        public function getPropertyName() {
-               return 'UPPER' .  $this->operand->getPropertyName();
+               return 'UPPER' . $this->operand->getPropertyName();
        }
 }
index 849aa43..2e4727c 100644 (file)
@@ -154,7 +154,7 @@ class Typo3DbBackend implements BackendInterface, \TYPO3\CMS\Core\SingletonInter
                $uid = (int)$fieldValues['uid'];
                unset($fieldValues['uid']);
 
-               $updateSuccessful = $this->databaseHandle->exec_UPDATEquery($tableName, 'uid = '. $uid, $fieldValues);
+               $updateSuccessful = $this->databaseHandle->exec_UPDATEquery($tableName, 'uid = ' . $uid, $fieldValues);
                $this->checkSqlErrors();
 
                if (!$isRelation) {
index 00910d0..675590e 100644 (file)
@@ -184,7 +184,7 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $countPosts = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_domain_model_post', 'deleted=0');
                $this->assertSame(($this->numberOfRecordsInFixture - 1), $countPosts);
 
-               $post = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('title,sorting', 'tx_blogexample_domain_model_post', 'blog ='.$this->blog->getUid(), '', 'sorting DESC');
+               $post = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('title,sorting', 'tx_blogexample_domain_model_post', 'blog =' . $this->blog->getUid(), '', 'sorting DESC');
                $this->assertSame('Post10', $post['title']);
                $this->assertSame('10', $post['sorting']);
        }
@@ -220,11 +220,11 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $countPosts = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_domain_model_post', 'deleted=0');
                $this->assertSame($this->numberOfRecordsInFixture, $countPosts);
 
-               $post = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('title,sorting', 'tx_blogexample_domain_model_post', 'blog ='.$this->blog->getUid(), '', 'sorting DESC');
+               $post = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('title,sorting', 'tx_blogexample_domain_model_post', 'blog =' . $this->blog->getUid(), '', 'sorting DESC');
                $this->assertSame('Post9', $post['title']);
                $this->assertSame('10', $post['sorting']);
 
-               $post = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('title,uid', 'tx_blogexample_domain_model_post', 'blog ='.$this->blog->getUid().' AND sorting=6');
+               $post = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('title,uid', 'tx_blogexample_domain_model_post', 'blog =' . $this->blog->getUid() . ' AND sorting=6');
                $this->assertSame('MOVED POST Post10', $post['title']);
                $this->assertSame('10', $post['uid']);
        }
@@ -251,7 +251,7 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $count = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_domain_model_tag');
                $this->assertSame(11, $count);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid(), '', 'sorting DESC');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid(), '', 'sorting DESC');
                $this->assertSame('11', $tag['uid_foreign']);
        }
 
@@ -281,10 +281,10 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $countPosts = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_domain_model_tag', 'deleted=0' );
                $this->assertEquals(10, $countPosts);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid(), '', 'sorting DESC');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid(), '', 'sorting DESC');
                $this->assertSame('9', $tag['uid_foreign']);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid().' AND uid_foreign='.$latestTag->getUid());
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid() . ' AND uid_foreign=' . $latestTag->getUid());
                $this->assertSame(NULL, $tag['uid_foreign']);
        }
 
@@ -318,10 +318,10 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $countTags = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_post_tag_mm', 'uid_local=1');
                $this->assertSame(11, $countTags);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid(), '', 'sorting DESC');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid(), '', 'sorting DESC');
                $this->assertSame('10', $tag['uid_foreign']);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid().' AND sorting=6');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid() . ' AND sorting=6');
                $this->assertSame('11', $tag['uid_foreign']);
        }
 
@@ -352,11 +352,11 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $countTags = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_post_tag_mm', 'uid_local=1');
                $this->assertSame(9, $countTags);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign,sorting', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid(), '', 'sorting DESC');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign,sorting', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid(), '', 'sorting DESC');
                $this->assertSame('10', $tag['uid_foreign']);
                $this->assertSame('10', $tag['sorting']);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid().' AND sorting=5');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid() . ' AND sorting=5');
                $this->assertSame(NULL, $tag['uid_foreign']);
        }
 
@@ -396,12 +396,12 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $countTags = $this->getDatabaseConnection()->exec_SELECTcountRows('*', 'tx_blogexample_post_tag_mm', 'uid_local=1');
                $this->assertSame(10, $countTags);
 
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign,sorting', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid(), '', 'sorting DESC');
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign,sorting', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid(), '', 'sorting DESC');
                $this->assertSame('9', $tag['uid_foreign']);
                $this->assertSame('10', $tag['sorting']);
 
                $sorting = '6';
-               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local ='.$post->getUid().' AND sorting='.$sorting);
+               $tag = $this->getDatabaseConnection()->exec_SELECTgetSingleRow('uid_foreign', 'tx_blogexample_post_tag_mm', 'uid_local =' . $post->getUid() . ' AND sorting=' . $sorting);
                $this->assertSame('10', $tag['uid_foreign']);
        }
 
index f5f66ae..b5c76de 100644 (file)
@@ -866,7 +866,7 @@ class FileList extends \TYPO3\CMS\Backend\RecordList\AbstractRecordList {
                                $confirmationCheck = '1 == 1';
                        }
 
-                       $removeOnClick = 'if (' . $confirmationCheck . ') { top.content.list_frame.location.href=top.TS.PATH_typo3+\'tce_file.php?file[delete][0][data]=' . rawurlencode($fileOrFolderObject->getCombinedIdentifier()) . '&vC=' . $GLOBALS['BE_USER']->veriCode() . BackendUtility::getUrlToken('tceAction') .  '&redirect=\'+top.rawurlencode(top.content.list_frame.document.location.pathname+top.content.list_frame.document.location.search);};';
+                       $removeOnClick = 'if (' . $confirmationCheck . ') { top.content.list_frame.location.href=top.TS.PATH_typo3+\'tce_file.php?file[delete][0][data]=' . rawurlencode($fileOrFolderObject->getCombinedIdentifier()) . '&vC=' . $GLOBALS['BE_USER']->veriCode() . BackendUtility::getUrlToken('tceAction') . '&redirect=\'+top.rawurlencode(top.content.list_frame.document.location.pathname+top.content.list_frame.document.location.search);};';
 
                        $cells['delete'] = '<a href="#" onclick="' . htmlspecialchars($removeOnClick) . '"  title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:cm.delete') . '">' . IconUtility::getSpriteIcon('actions-edit-delete') . '</a>';
                } else {
index 042d67d..e72e34e 100644 (file)
@@ -73,7 +73,7 @@ abstract class AbstractFormViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\A
                $name = $this->prefixFieldName($name) . '[__identity]';
                $this->registerFieldNameForFormTokenGeneration($name);
 
-               return chr(10) . '<input type="hidden" name="'. $name . '" value="' . $identifier .'" />' . chr(10);
+               return chr(10) . '<input type="hidden" name="' . $name . '" value="' . $identifier . '" />' . chr(10);
        }
 
        /**
index 70a48eb..c4f93db 100644 (file)
@@ -5881,7 +5881,7 @@ class ContentObjectRenderer {
                                                $url = $GLOBALS['TSFE']->absRefPrefix . $GLOBALS['TSFE']->config['mainScript'] . $initP;
                                                $jumpurl = $scheme . $link_param;
                                                $juHash = GeneralUtility::hmac($jumpurl, 'jumpurl');
-                                               $this->lastTypoLinkUrl = $url . '&jumpurl=' . rawurlencode($jumpurl) . '&juHash='. $juHash . $GLOBALS['TSFE']->getMethodUrlIdToken;
+                                               $this->lastTypoLinkUrl = $url . '&jumpurl=' . rawurlencode($jumpurl) . '&juHash=' . $juHash . $GLOBALS['TSFE']->getMethodUrlIdToken;
                                        } else {
                                                $this->lastTypoLinkUrl = $scheme . $link_param;
                                        }
@@ -7736,8 +7736,8 @@ class ContentObjectRenderer {
                        }
                        // If move placeholder shall be considered, select via t3ver_move_id
                        if ($considerMovePlaceholders) {
-                               $movePlaceholderComparison = $table . '.t3ver_state=' . VersionState::cast(VersionState::MOVE_PLACEHOLDER) .  ' AND ' . $table . '.t3ver_move_id' . $comparison;
-                               $query .= ' AND (' . $table . '.uid' . $comparison . ' OR ' . $movePlaceholderComparison .')';
+                               $movePlaceholderComparison = $table . '.t3ver_state=' . VersionState::cast(VersionState::MOVE_PLACEHOLDER) . ' AND ' . $table . '.t3ver_move_id' . $comparison;
+                               $query .= ' AND (' . $table . '.uid' . $comparison . ' OR ' . $movePlaceholderComparison . ')';
                        } else {
                                $query .= ' AND ' . $table . '.uid' . $comparison;
                        }
index c63d453..cea7c69 100644 (file)
@@ -651,7 +651,7 @@ class ImportExportController extends \TYPO3\CMS\Backend\Module\BaseScriptClass {
                        }
                }
                if (count($inData['exclude'])) {
-                       $excludedElements = '<em>' . implode(', ', array_keys($inData['exclude'])). '</em><hr/><label for="checkExclude">'
+                       $excludedElements = '<em>' . implode(', ', array_keys($inData['exclude'])) . '</em><hr/><label for="checkExclude">'
                                . $this->lang->getLL('makeconfig_clearAllExclusions', TRUE)
                                . '</label> <input type="checkbox" name="tx_impexp[exclude]" id="checkExclude" value="1" />';
                } else {
index f9f9636..169ee46 100644 (file)
@@ -414,7 +414,7 @@ class Check {
                        $status = new Status\WarningStatus();
                        $status->setTitle('Fetching external URLs is not allowed');
                        $status->setMessage(
-                               'Either enable PHP runtime setting "allow_url_fopen"' . LF .  'or enable curl by setting [SYS][curlUse] accordingly.'
+                               'Either enable PHP runtime setting "allow_url_fopen"' . LF . 'or enable curl by setting [SYS][curlUse] accordingly.'
                        );
                }
                return $status;
index 78378c2..3a6ac96 100644 (file)
@@ -74,7 +74,7 @@ class InitUpdateWizard extends AbstractUpdate {
        protected function getRequiredUpdates() {
                $requiredUpdates = array();
                $fileContent = \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl(
-                       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('core'). 'ext_tables.sql'
+                       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('core') . 'ext_tables.sql'
                );
                $FDfile = $this->installerSql->getFieldDefinitions_fileContent($fileContent);
                $FDdb = $this->installerSql->getFieldDefinitions_database(TYPO3_db);
index 3e34cf0..7ea5764 100644 (file)
@@ -132,7 +132,7 @@ class Ter extends \TYPO3\CMS\Extensionmanager\Utility\Connection\TerUtility {
                                $absolutePathToZipFile = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName('typo3temp/' . $extensionKey . '-l10n-' . $language . '.zip');
                                $relativeLanguagePath = 'l10n' . '/' . $language . '/';
                                $absoluteLanguagePath = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName(PATH_typo3conf . $relativeLanguagePath);
-                               $absoluteExtensionLanguagePath = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName(PATH_typo3conf . $relativeLanguagePath. $extensionKey . '/');
+                               $absoluteExtensionLanguagePath = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName(PATH_typo3conf . $relativeLanguagePath . $extensionKey . '/');
                                if (empty($absolutePathToZipFile) || empty($absoluteLanguagePath) || empty($absoluteExtensionLanguagePath)) {
                                        throw new \TYPO3\CMS\Lang\Exception\Lang('Given path is invalid.', 1352565336);
                                }
index 5aad1af..3993e16 100644 (file)
@@ -46,7 +46,7 @@ class WarningMessagePostProcessor {
                                );
                                $warningMessages['tx_reports_status_notification'] = sprintf(
                                        $GLOBALS['LANG']->getLL('status_problemNotification'),
-                                       '<a href="javascript:top.goToModule(\'' . $reportModuleIdentifier . '\', 1, \'&' . implode('&', $reportModuleParameters) .  '\');">', '</a>'
+                                       '<a href="javascript:top.goToModule(\'' . $reportModuleIdentifier . '\', 1, \'&' . implode('&', $reportModuleParameters) . '\');">', '</a>'
                                );
                        }
                }
index 88762b1..2f31765 100644 (file)
@@ -568,7 +568,7 @@ class BrowseLinks extends \TYPO3\CMS\Recordlist\Browser\ElementBrowser {
                        . ' value="' . htmlspecialchars(($this->curUrlInfo['act'] == 'url' ? $this->curUrlInfo['info'] : 'http://'))
                        . '" /> ' . '<input type="submit" value="' . $GLOBALS['LANG']->getLL('setLink', TRUE)
                        . '" onclick="if (/^[A-Za-z0-9_+]{1,8}:/.test(document.ltargetform.lurl.value)) { '
-                       .' browse_links_setHref(document.ltargetform.lurl.value); } else { browse_links_setHref(\'http://\''
+                       . ' browse_links_setHref(document.ltargetform.lurl.value); } else { browse_links_setHref(\'http://\''
                        . '+document.ltargetform.lurl.value); }; browse_links_setAdditionalValue(\'data-htmlarea-external\', \'1\');'
                        . 'return link_current();" /></td>
                                                                </tr>';