[TASK] Reduce CGL violations FunctionCallArgumentSpacingSpaceBeforeComma
authorRoland Waldner <most.wanted@gmx.at>
Thu, 31 May 2012 18:02:18 +0000 (20:02 +0200)
committerGeorg Ringer <mail@ringerge.org>
Fri, 1 Jun 2012 06:29:37 +0000 (08:29 +0200)
There are violations against the CGL rule
"FunctionCallArgumentSpacingSpaceBeforeComma".

These will be reduced by this commit.

Change-Id: I13cb5f14cedafca33db7f4269526dbb8d4de8acf
Resolves: #37657
Releases: 6.0
Reviewed-on: http://review.typo3.org/11774
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
t3lib/thumbs.php
typo3/class.db_list_extra.inc
typo3/db_new.php
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php

index dd456ed..09a6475 100644 (file)
@@ -157,13 +157,7 @@ class SC_t3lib_thumbs {
                        $this->size = $size;
                } else {
                                // hide the path to the document root;
-                       throw new RuntimeException(
-                               'TYPO3 Fatal Error: The requested image does not exist and/or MD5 checksum did not match. ' .
-                                       'If the target file exists and its file name contains special characters, the setting of ' .
-                                       '$TYPO3_CONF_VARS[SYS][systemLocale] might be wrong.'
-                               ,
-                               1270853950
-                       );
+                       throw new RuntimeException('TYPO3 Fatal Error: The requested image does not exist and/or MD5 checksum did not match. If the target file exists and its file name contains special characters, the setting of $TYPO3_CONF_VARS[SYS][systemLocale] might be wrong.', 1270853950);
                }
        }
 
index fa5121f..2993602 100644 (file)
@@ -804,7 +804,7 @@ class localRecordList extends recordList {
                                        $elFromTable = $this->clipObj->elFromTable($table);
                                        if (count($elFromTable)) {
                                                $cells['pasteAfter'] = '<a href="' . htmlspecialchars($this->clipObj->pasteUrl($table, $this->id)) .
-                                                       '" onclick="' . htmlspecialchars('return ' . $this->clipObj->confirmMsg('pages', $this->pageRow, 'into' ,$elFromTable)) .
+                                                       '" onclick="' . htmlspecialchars('return ' . $this->clipObj->confirmMsg('pages', $this->pageRow, 'into'$elFromTable)) .
                                                        '" title="' . $GLOBALS['LANG']->getLL('clip_paste', TRUE) . '">' .
                                                        t3lib_iconWorks::getSpriteIcon('actions-document-paste-after') . '</a>';
                                        }
index 8d6b74e..8757b07 100644 (file)
@@ -479,10 +479,7 @@ class SC_db_new {
                                                $rowContent = '';
 
                                                        // Create new link for record:
-                                               $newLink = $this->linkWrap(
-                                                       $newRecordIcon . $GLOBALS['LANG']->sL($v['ctrl']['title'], 1)
-                                                       ,$table
-                                                       ,$this->id);
+                                               $newLink = $this->linkWrap($newRecordIcon . $GLOBALS['LANG']->sL($v['ctrl']['title'], 1), $table, $this->id);
 
                                                        // If the table is 'tt_content' (from "cms" extension), create link to wizard
                                                if ($table == 'tt_content') {
index 0147857..b67c0ba 100755 (executable)
@@ -235,7 +235,7 @@ class tx_indexedsearch extends tslib_pibase {
 
                        // Free Index Uid:
                if ($this->conf['search.']['defaultFreeIndexUidList']) {
-                       $uidList = t3lib_div::intExplode(',' , $this->conf['search.']['defaultFreeIndexUidList']);
+                       $uidList = t3lib_div::intExplode(',', $this->conf['search.']['defaultFreeIndexUidList']);
                        $indexCfgRecords = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid,title', 'index_config', 'uid IN ('.implode(',', $uidList).')'.$this->cObj->enableFields('index_config'), '', '', '', 'uid');
 
                        foreach ($uidList as $uidValue) {