[TASK] CGL FunctionCallArgumentSpacingTooMuchSpaceAfterComma
authorRoland Waldner <most.wanted@gmx.at>
Sun, 3 Jun 2012 10:12:47 +0000 (12:12 +0200)
committerGeorg Ringer <mail@ringerge.org>
Sun, 3 Jun 2012 13:29:52 +0000 (15:29 +0200)
There are violations against the CGL rule
"FunctionCallArgumentSpacingTooMuchSpaceAfterComma".

These will be reduced.

Change-Id: I24cb9b59424ccd51538fb82fa55c1a54835650a6
Resolves: #37707
Releases: 6.0
Reviewed-on: http://review.typo3.org/11805
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc
typo3/sysext/indexed_search/example/class.crawlerhook.php
typo3/sysext/openid/ext_localconf.php
typo3/sysext/rsaauth/ext_localconf.php
typo3/sysext/saltedpasswords/classes/tasks/class.tx_saltedpasswords_tasks_bulkupdate.php
typo3/sysext/statictemplates/media/scripts/fe_adminLib.inc
typo3/sysext/sv/ext_localconf.php

index 823b9cd..28f9d31 100755 (executable)
@@ -798,7 +798,7 @@ class user_feAdmin  {
         */
        function deleteRecord() {
                if ($this->conf['delete'])      {       // If deleting is enabled
-                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable,  $this->recUid);
+                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable, $this->recUid);
                        if ($GLOBALS['TSFE']->loginUser || $this->aCAuth($origArr))     {       // Must be logged in OR be authenticated by the aC code in order to delete
                                        // If the recUid selects a record.... (no check here)
                                if (is_array($origArr)) {
@@ -883,7 +883,7 @@ class user_feAdmin  {
         */
        function displayDeleteScreen() {
                if ($this->conf['delete'])      {       // If deleting is enabled
-                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable,  $this->recUid);
+                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable, $this->recUid);
                        if ($GLOBALS['TSFE']->loginUser || $this->aCAuth($origArr))     {       // Must be logged in OR be authenticated by the aC code in order to delete
                                        // If the recUid selects a record.... (no check here)
                                if (is_array($origArr)) {
@@ -938,7 +938,7 @@ class user_feAdmin  {
         */
        function displayEditScreen() {
                if ($this->conf['edit'])        {       // If editing is enabled
-                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable,  $this->dataArr['uid']?$this->dataArr['uid']:$this->recUid);
+                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable, $this->dataArr['uid']?$this->dataArr['uid']:$this->recUid);
 
                        if ($GLOBALS['TSFE']->loginUser || $this->aCAuth($origArr))     {       // Must be logged in OR be authenticated by the aC code in order to edit
                                        // If the recUid selects a record.... (no check here)
@@ -1004,7 +1004,7 @@ class user_feAdmin        {
                $markerArray['###HIDDENFIELDS###'].= '<input type="hidden" name="FE['.$this->theTable.'][uid]" value="'.$currentArr['uid'].'" />';
                if ($this->conf['edit.']['preview'] && !$this->previewLabel)    {$markerArray['###HIDDENFIELDS###'].= '<input type="hidden" name="preview" value="1" />';}
                $content = $this->cObj->substituteMarkerArray($templateCode, $markerArray);
-               $content.=$this->cObj->getUpdateJS($this->modifyDataArrForFormUpdate($currentArr), $this->theTable.'_form',  'FE['.$this->theTable.']', $this->fieldList.$this->additionalUpdateFields);
+               $content.=$this->cObj->getUpdateJS($this->modifyDataArrForFormUpdate($currentArr), $this->theTable.'_form', 'FE['.$this->theTable.']', $this->fieldList.$this->additionalUpdateFields);
 
                return $content;
        }
@@ -1018,7 +1018,7 @@ class user_feAdmin        {
        function procesSetFixed() {
                if ($this->conf['setfixed']) {
                        $theUid = intval($this->recUid);
-                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable,  $theUid);
+                       $origArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable, $theUid);
                        $fD = t3lib_div::_GP('fD');
                        $sFK = t3lib_div::_GP('sFK');
 
index c52252c..1f7d83e 100755 (executable)
@@ -119,9 +119,12 @@ class tx_indexedsearch_crawlerhook {
                                                '',
                                                '',
                                                $item['content'],
-                                               $GLOBALS['LANG']->charSet,      // Charset of content - MUST be set.
-                                               $item['tstamp'],                        // Last-modified date
-                                               $item['create_date'],           // Created date
+                                                       // Charset of content - MUST be set.
+                                               $GLOBALS['LANG']->charSet,
+                                                       // Last-modified date
+                                               $item['tstamp'],
+                                                       // Created date
+                                               $item['create_date'],
                                                $item['ID']
                                        );
                                }
index 2db5c4f..d21afbf 100644 (file)
@@ -5,7 +5,7 @@ if (!defined ('TYPO3_MODE')) {
 }
 
 // Register OpenID authentication service with TYPO3
-t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */,  'tx_openid_sv1' /* sv key */,
+t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_openid_sv1' /* sv key */,
        array(
                'title' => 'OpenID Authentication',
                'description' => 'OpenID authentication service for Frontend and Backend',
index 2cc323e..a099819 100644 (file)
@@ -4,7 +4,7 @@ if (!defined ('TYPO3_MODE')) {
 }
 
 // Add the service
-t3lib_extMgm::addService($_EXTKEY,  'auth' /* sv type */,  'tx_rsaauth_sv1' /* sv key */,
+t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_rsaauth_sv1' /* sv key */,
        array(
                'title' => 'RSA authentication',
                'description' => 'Authenticates users by using encrypted passwords',
index 4ae6258..3482ecd 100644 (file)
@@ -115,7 +115,8 @@ class tx_saltedpasswords_Tasks_BulkUpdate extends tx_scheduler_Task {
                $usersToUpdate = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
                        'uid, password',
                        strtolower($mode) . '_users',
-                       '1 = 1',  // retrieve and update all records (also disabled/deleted) for security reasons
+                               // retrieve and update all records (also disabled/deleted) for security reasons
+                       '1 = 1',
                        '',
                        'uid ASC',
                        $this->userRecordPointer[$mode] . ', ' . $this->numberOfRecords
index 64dfd51..ca1cbea 100644 (file)
@@ -1080,7 +1080,7 @@ class user_feAdmin {
                        $markerArray['###HIDDENFIELDS###'] .= '<input type="hidden" name="preview" value="1" />';
                }
                $content = $this->cObj->substituteMarkerArray($templateCode, $markerArray);
-               $content .= $this->cObj->getUpdateJS($this->modifyDataArrForFormUpdate($currentArr), $this->theTable . '_form',  'FE[' . $this->theTable . ']', $this->fieldList . $this->additionalUpdateFields);
+               $content .= $this->cObj->getUpdateJS($this->modifyDataArrForFormUpdate($currentArr), $this->theTable . '_form', 'FE[' . $this->theTable . ']', $this->fieldList . $this->additionalUpdateFields);
 
                return $content;
        }
index 271b0b4..667b215 100644 (file)
@@ -2,7 +2,7 @@
 if (!defined ('TYPO3_MODE'))   die ('Access denied.');
 
        // Register base authentication service
-t3lib_extMgm::addService($_EXTKEY,  'auth' /* sv type */,  'tx_sv_auth' /* sv key */,
+t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_sv_auth' /* sv key */,
                array(
 
                        'title' => 'User authentication',