[TASK] CGL violations FunctionCallArgumentSpacing in /typo3/sysext/f*/

There were violations against the CGL rule
"FunctionCallArgumentSpacingNoSpaceAfterComma" in /typo3/sysext/f*/.
These will be reduced by this commit.

Change-Id: I301a98427a558edbabc62e73e4ca05be546f3482
Resolves: #37512
Releases: 6.0
Reviewed-on: http://review.typo3.org/11652
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
This commit is contained in:
Roland Waldner 2012-05-26 21:56:42 +02:00 committed by Georg Ringer
parent 82fd45bf17
commit 447f42adb9

View file

@ -90,7 +90,7 @@ class tx_feedit_editpanel {
$panel .= $GLOBALS['BE_USER']->adminPanel->ext_makeToolBar() . '<img src="clear.gif" width="2" height="1" alt="" title="" />'; $panel .= $GLOBALS['BE_USER']->adminPanel->ext_makeToolBar() . '<img src="clear.gif" width="2" height="1" alt="" title="" />';
} }
if (isset($allow['edit'])) { if (isset($allow['edit'])) {
$panel .= $this->editPanelLinkWrap('<img ' . t3lib_iconWorks::skinImg(TYPO3_mainDir,'gfx/edit2.gif', 'width="11" height="12" hspace="2" border="0"') . ' title="' . $GLOBALS['BE_USER']->extGetLL('p_editRecord').'" align="top" alt="" />', $formName, 'edit', $dataArr['_LOCALIZED_UID'] ? $table . ':' . $dataArr['_LOCALIZED_UID'] : $currentRecord); $panel .= $this->editPanelLinkWrap('<img ' . t3lib_iconWorks::skinImg(TYPO3_mainDir, 'gfx/edit2.gif', 'width="11" height="12" hspace="2" border="0"') . ' title="' . $GLOBALS['BE_USER']->extGetLL('p_editRecord').'" align="top" alt="" />', $formName, 'edit', $dataArr['_LOCALIZED_UID'] ? $table . ':' . $dataArr['_LOCALIZED_UID'] : $currentRecord);
} }
// Hiding in workspaces because implementation is incomplete // Hiding in workspaces because implementation is incomplete
if (isset($allow['move']) && $sortField && $GLOBALS['BE_USER']->workspace === 0) { if (isset($allow['move']) && $sortField && $GLOBALS['BE_USER']->workspace === 0) {
@ -117,7 +117,7 @@ class tx_feedit_editpanel {
$panel .= $this->editPanelLinkWrap('<img ' . t3lib_iconWorks::skinImg(TYPO3_mainDir, 'gfx/delete_record.gif', 'width="12" height="12" vspace="1" hspace="2" border="0" ') . ' title="' . $GLOBALS['BE_USER']->extGetLL('p_delete').'" align="top" alt="" />', $formName, 'delete', '', $GLOBALS['BE_USER']->extGetLL('p_deleteConfirm')); $panel .= $this->editPanelLinkWrap('<img ' . t3lib_iconWorks::skinImg(TYPO3_mainDir, 'gfx/delete_record.gif', 'width="12" height="12" vspace="1" hspace="2" border="0" ') . ' title="' . $GLOBALS['BE_USER']->extGetLL('p_delete').'" align="top" alt="" />', $formName, 'delete', '', $GLOBALS['BE_USER']->extGetLL('p_deleteConfirm'));
} }
// Final // Final
$labelTxt = $this->cObj->stdWrap($conf['label'],$conf['label.']); $labelTxt = $this->cObj->stdWrap($conf['label'], $conf['label.']);
foreach((array) $hiddenFields as $name => $value) { foreach((array) $hiddenFields as $name => $value) {
$hiddenFieldString .= '<input type="hidden" name="TSFE_EDIT[' . $name . ']" value="' . $value . '"/>' . LF; $hiddenFieldString .= '<input type="hidden" name="TSFE_EDIT[' . $name . ']" value="' . $value . '"/>' . LF;
@ -302,17 +302,17 @@ class tx_feedit_editpanel {
$thick = t3lib_utility_Math::forceIntegerInRange($thick, 1, 100); $thick = t3lib_utility_Math::forceIntegerInRange($thick, 1, 100);
$color = $conf['color'] ? $conf['color'] : '#cccccc'; $color = $conf['color'] ? $conf['color'] : '#cccccc';
if ($conf['innerWrap']) { if ($conf['innerWrap']) {
$content = $this->wrap($content,$conf['innerWrap']); $content = $this->wrap($content, $conf['innerWrap']);
} }
if ($conf['innerWrap.']) { if ($conf['innerWrap.']) {
$content = $this->stdWrap($content,$conf['innerWrap.']); $content = $this->stdWrap($content, $conf['innerWrap.']);
} }
$content = '<table class="typo3-editPanel-previewBorder" border="' . $thick . '" cellpadding="0" cellspacing="0" bordercolor="' . $color . '" width="100%" summary=""><tr><td>' . $content . '</td></tr></table>'; $content = '<table class="typo3-editPanel-previewBorder" border="' . $thick . '" cellpadding="0" cellspacing="0" bordercolor="' . $color . '" width="100%" summary=""><tr><td>' . $content . '</td></tr></table>';
if ($conf['outerWrap']) { if ($conf['outerWrap']) {
$content = $this->wrap($content,$conf['outerWrap']); $content = $this->wrap($content, $conf['outerWrap']);
} }
if ($conf['outerWrap.']) { if ($conf['outerWrap.']) {
$content = $this->stdWrap($panel,$conf['outerWrap.']); $content = $this->stdWrap($panel, $conf['outerWrap.']);
} }
} }