diff --git a/t3lib/class.t3lib_cs.php b/t3lib/class.t3lib_cs.php index 7b70c25982dc486c23d37f41899fd28aacd94d33..c86b4087e15c4dc360d31e21a73392c1450c2421 100644 --- a/t3lib/class.t3lib_cs.php +++ b/t3lib/class.t3lib_cs.php @@ -1923,7 +1923,6 @@ class t3lib_cs { if (ord($str{$i}) & 0x80) { for (; $i > 0 && !(ord($str{$i}) & 0x40); $i--) { // find the first byte - ; } if ($i <= 0) { return ''; diff --git a/t3lib/class.t3lib_db.php b/t3lib/class.t3lib_db.php index de2f9b69d0ea78f74e9dcda945dc2cf0597cb2bf..a4eb4185a292baa9351b51a1cd00ba8d632cc73d 100644 --- a/t3lib/class.t3lib_db.php +++ b/t3lib/class.t3lib_db.php @@ -288,7 +288,6 @@ class t3lib_DB { } } else { while ($output[] = $this->sql_fetch_assoc($res)) { - ; } array_pop($output); } diff --git a/t3lib/class.t3lib_div.php b/t3lib/class.t3lib_div.php index f8525fed69f3acbfd6646ceb42b1f938a2dc3c58..497e7451468fdf5204fcf54f6d4f539cd57b2941 100644 --- a/t3lib/class.t3lib_div.php +++ b/t3lib/class.t3lib_div.php @@ -5360,7 +5360,6 @@ final class t3lib_div { */ public static function cleanOutputBuffers() { while (ob_end_clean()) { - ; } header('Content-Encoding: None', TRUE); } @@ -5375,7 +5374,6 @@ final class t3lib_div { $obContent = ''; while ($obContent .= ob_get_clean()) { - ; } // if previously a "Content-Encoding: whatever" has been set, we have to unset it diff --git a/t3lib/class.t3lib_stdgraphic.php b/t3lib/class.t3lib_stdgraphic.php index 24d4b0413506be337f94e9e520a8ba75193e73e4..468cfdfddcd177aac624275039c30e0d364d2e8a 100644 --- a/t3lib/class.t3lib_stdgraphic.php +++ b/t3lib/class.t3lib_stdgraphic.php @@ -2738,7 +2738,6 @@ class t3lib_stdGraphic { $quality = t3lib_utility_Math::forceIntegerInRange($this->setup['quality'], 10, 100); } if ($this->ImageWrite($this->im, $file, $quality)) { - ; } break; } diff --git a/t3lib/class.t3lib_tceforms.php b/t3lib/class.t3lib_tceforms.php index a8945f83f3ea3da3b5d0532258a8303928969d42..bc3e9c905060e17bdcce9b706e0778289eac0f2c 100644 --- a/t3lib/class.t3lib_tceforms.php +++ b/t3lib/class.t3lib_tceforms.php @@ -1700,7 +1700,7 @@ class t3lib_TCEforms { if (!strcmp($p[1], '--div--')) { $selIcon = ''; if (isset($p[2]) && $p[2] != 'empty-emtpy') { - $selIcon = $this->getIconHtml($p[2]) ; + $selIcon = $this->getIconHtml($p[2]); } $tRows[] = ' <tr class="c-header"> diff --git a/t3lib/class.t3lib_tcemain.php b/t3lib/class.t3lib_tcemain.php index 7fd3764fbd9a39f1067769803ab27996902f00d5..763ce0a9210471f9d27a6227518b6be17e9ed46f 100644 --- a/t3lib/class.t3lib_tcemain.php +++ b/t3lib/class.t3lib_tcemain.php @@ -1071,7 +1071,6 @@ class t3lib_TCEmain { $this->log($table, $id, 5, 0, 1, "You cannot change the 'doktype' of page '%s' to the desired value.", 1, array($propArr['header']), $propArr['event_pid']); return $res; } - ; if ($status == 'update') { // This checks 1) if we should check for disallowed tables and 2) if there are records from disallowed tables on the current page $onlyAllowedTables = (isset($GLOBALS['PAGES_TYPES'][$value]['onlyAllowedTables']) @@ -6210,7 +6209,6 @@ class t3lib_TCEmain { */ function getTableEntries($table, $TSconfig) { $tA = is_array($TSconfig['table.'][$table . '.']) ? $TSconfig['table.'][$table . '.'] : array(); - ; $dA = is_array($TSconfig['default.']) ? $TSconfig['default.'] : array(); return t3lib_div::array_merge_recursive_overrule($dA, $tA); } diff --git a/t3lib/search/class.t3lib_search_livesearch.php b/t3lib/search/class.t3lib_search_livesearch.php index 1182e7563274ef20e1846efefcd046cf8febc7a9..c74cd337726c475b160485eee066ba684411e358 100644 --- a/t3lib/search/class.t3lib_search_livesearch.php +++ b/t3lib/search/class.t3lib_search_livesearch.php @@ -313,7 +313,6 @@ class t3lib_search_livesearch { } return htmlspecialchars(t3lib_div::fixed_lgd_cs($title, $titleLength)); - ; } /** diff --git a/t3lib/tree/tca/class.t3lib_tree_tca_databasetreedataprovider.php b/t3lib/tree/tca/class.t3lib_tree_tca_databasetreedataprovider.php index 778690443a7c152f06e36daaa6e1f7ad6da8c45a..5255fbc6296734645529eef84486d92b525f89a7 100644 --- a/t3lib/tree/tca/class.t3lib_tree_tca_databasetreedataprovider.php +++ b/t3lib/tree/tca/class.t3lib_tree_tca_databasetreedataprovider.php @@ -335,7 +335,6 @@ class t3lib_tree_Tca_DatabaseTreeDataProvider extends t3lib_tree_Tca_AbstractTca $storage = t3lib_div::makeInstance('t3lib_tree_NodeCollection'); foreach ($children as $child) { $node = t3lib_div::makeInstance('t3lib_tree_Node'); - ; $node->setId($child); if ($level <= $this->levelMaximum) { $children = $this->getChildrenOf($node, $level + 1); diff --git a/typo3/sysext/about/Classes/Controller/AboutController.php b/typo3/sysext/about/Classes/Controller/AboutController.php index 94f655993d3d73515d1a602c52baf6edf66df686..6613787d4d397bf07e79b5ceeef1b8c87f19a17a 100644 --- a/typo3/sysext/about/Classes/Controller/AboutController.php +++ b/typo3/sysext/about/Classes/Controller/AboutController.php @@ -60,8 +60,7 @@ class Tx_About_Controller_AboutController extends Tx_Extbase_MVC_Controller_Acti ->assign('TYPO3CopyrightYear', TYPO3_copyright_year) ->assign('TYPO3UrlDonate', TYPO3_URL_DONATE) ->assign('loadedExtensions', $extensions) - ->assign('customContents', $this->getCustomContent()) - ; + ->assign('customContents', $this->getCustomContent()); } /** diff --git a/typo3/sysext/aboutmodules/Classes/Controller/ModulesController.php b/typo3/sysext/aboutmodules/Classes/Controller/ModulesController.php index ee1e93ac76e24190fc67e2de9ea74348860724f7..ab8aa8ae25c0b49c0834b778346f9293baef0c18 100644 --- a/typo3/sysext/aboutmodules/Classes/Controller/ModulesController.php +++ b/typo3/sysext/aboutmodules/Classes/Controller/ModulesController.php @@ -47,8 +47,7 @@ class Tx_Aboutmodules_Controller_ModulesController extends Tx_Extbase_MVC_Contr ->assign('TYPO3Version', TYPO3_version) ->assign('copyRightNotice', t3lib_BEfunc::TYPO3_copyRightNotice()) ->assign('warningMessages', t3lib_BEfunc::displayWarningMessages()) - ->assign('modules', $this->getModulesData()) - ; + ->assign('modules', $this->getModulesData()); } /** diff --git a/typo3/sysext/cms/tslib/class.tslib_content.php b/typo3/sysext/cms/tslib/class.tslib_content.php index d29c2154bda9e2dbde3597a63224d9e564f97efa..c65684915c4cb07897e15c782b12b7cd103cc390 100644 --- a/typo3/sysext/cms/tslib/class.tslib_content.php +++ b/typo3/sysext/cms/tslib/class.tslib_content.php @@ -1872,19 +1872,15 @@ class tslib_cObj { if (is_callable(array($hookObject, 'stdWrapPreProcess'))) { $conf['stdWrapPreProcess'] = 1; } - ; if (is_callable(array($hookObject, 'stdWrapOverride'))) { $conf['stdWrapOverride'] = 1; } - ; if (is_callable(array($hookObject, 'stdWrapProcess'))) { $conf['stdWrapProcess'] = 1; } - ; if (is_callable(array($hookObject, 'stdWrapPostProcess'))) { $conf['stdWrapPostProcess'] = 1; } - ; } } diff --git a/typo3/sysext/cms/tslib/content/class.tslib_content_flowplayer.php b/typo3/sysext/cms/tslib/content/class.tslib_content_flowplayer.php index be28cfbe41b17b57a80530907caf245e55ef2ba8..0093965bbb3ea2b39e3403b70c69a60ab2c522eb 100644 --- a/typo3/sysext/cms/tslib/content/class.tslib_content_flowplayer.php +++ b/typo3/sysext/cms/tslib/content/class.tslib_content_flowplayer.php @@ -211,7 +211,6 @@ class tslib_content_FlowPlayer extends tslib_content_Abstract { if ($GLOBALS['TSFE']->absRefPrefix) { $prefix = $GLOBALS['TSFE']->absRefPrefix; } - ; // Initialize content $replaceElementIdString = uniqid('mmswf'); $GLOBALS['TSFE']->register['MMSWFID'] = $replaceElementIdString; diff --git a/typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php b/typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php index 0d083e9eaa0f521841cf5b801cde1a8ca3592d14..713d530bccfb09e07dd73d3179468459d6f5acb2 100644 --- a/typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php +++ b/typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php @@ -48,7 +48,6 @@ class tslib_content_ShockwaveFlashObject extends tslib_content_Abstract { if ($GLOBALS['TSFE']->absRefPrefix) { $prefix = $GLOBALS['TSFE']->absRefPrefix; } - ; $type = isset($conf['type.']) ? $this->cObj->stdWrap($conf['type'], $conf['type.']) diff --git a/typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc b/typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc index 02cb686b3b2a1d67983204437c1eb14eeef606a5..014aa6912cd4fa350ea2e3271d80bb9aa6ca3f10 100644 --- a/typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc +++ b/typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc @@ -393,7 +393,7 @@ class user_plaintext { function breakTable($str) { $cParts = explode(chr(10),$str); $lines=array(); - $cols = intval($this->conf['cols']) ? intval($this->conf['cols']) : 0 ; + $cols = intval($this->conf['cols']) ? intval($this->conf['cols']) : 0; $c=0; foreach ($cParts as $substrs) { $c++; diff --git a/typo3/sysext/lowlevel/class.tx_lowlevel_cleaner_core.php b/typo3/sysext/lowlevel/class.tx_lowlevel_cleaner_core.php index 15c43f9e1eb2357fb12bcc0f65d005b8e1e35c4f..58ee9b6d1e8c19821131eddd157ffc4a3806c345 100644 --- a/typo3/sysext/lowlevel/class.tx_lowlevel_cleaner_core.php +++ b/typo3/sysext/lowlevel/class.tx_lowlevel_cleaner_core.php @@ -412,8 +412,7 @@ class tx_lowlevel_cleaner_core extends t3lib_cli { if ($echoLevel>0) echo LF.$accumulatedPath.' ['.$rootID.']'. ($pageRecord['deleted'] ? ' (DELETED)':''). - ($this->recStats['versions_published']['pages'][$rootID] ? ' (PUBLISHED)':'') - ; + ($this->recStats['versions_published']['pages'][$rootID] ? ' (PUBLISHED)':''); if ($echoLevel>1 && $this->recStats['versions_lost_workspace']['pages'][$rootID]) echo LF.' ERROR! This version belongs to non-existing workspace ('.$pageRecord['t3ver_wsid'].')!'; if ($echoLevel>1 && $this->recStats['versions_inside_versioned_page']['pages'][$rootID]) diff --git a/typo3/sysext/lowlevel/clmods/class.lost_files.php b/typo3/sysext/lowlevel/clmods/class.lost_files.php index 345fb63bf3d40e768a8ceb1552cc6069057ff915..a8d9668c1041c6f628cbd9c6ada812aee453ac2d 100644 --- a/typo3/sysext/lowlevel/clmods/class.lost_files.php +++ b/typo3/sysext/lowlevel/clmods/class.lost_files.php @@ -129,7 +129,7 @@ Will report lost files.'; if ($include) { // First, allow "index.html", ".htaccess" files since they are often used for good reasons if (substr($value,-11) == '/index.html' || substr($value,-10) == '/.htaccess') { - unset($fileArr[$key]) ; + unset($fileArr[$key]); $resultArray['ignoredFiles'][$shortKey] = $value; } else { // Looking for a reference from a field which is NOT a soft reference (thus, only fields with a proper TCA/Flexform configuration) @@ -145,7 +145,7 @@ Will report lost files.'; // If found, unset entry: if (count($recs)) { - unset($fileArr[$key]) ; + unset($fileArr[$key]); $resultArray['managedFiles'][$shortKey] = $value; if (count($recs)>1) { $resultArray['warnings'][$shortKey] = 'Warning: File "'.$value.'" had '.count($recs).' references from group-fields, should have only one!'; @@ -153,11 +153,11 @@ Will report lost files.'; } else { // When here it means the file was not found. So we test if it has a RTEmagic-image name and if so, we allow it: if (preg_match('/^RTEmagic[P|C]_/',basename($value))) { - unset($fileArr[$key]) ; + unset($fileArr[$key]); $resultArray['RTEmagicFiles'][$shortKey] = $value; } else { // We conclude that the file is lost...: - unset($fileArr[$key]) ; + unset($fileArr[$key]); $resultArray['lostFiles'][$shortKey] = $value; } } diff --git a/typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php b/typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php index 1ba6efda699d82e44a1a31ab271156128efbd42a..14868e333c210308f43b8bd9ed715dae98e62286 100644 --- a/typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php +++ b/typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php @@ -131,7 +131,7 @@ class tx_rtehtmlarea_acronym extends tx_rtehtmlarea_api { } $webMounts = $GLOBALS['BE_USER']->returnWebmounts(); $perms_clause = $GLOBALS['BE_USER']->getPagePermsClause(1); - $recursive = isset($this->thisConfig['buttons.'][$button.'.']['recursive']) ? intval($this->thisConfig['buttons.'][$button.'.']['recursive']) : 0 ; + $recursive = isset($this->thisConfig['buttons.'][$button.'.']['recursive']) ? intval($this->thisConfig['buttons.'][$button.'.']['recursive']) : 0; if (trim($this->thisConfig['buttons.'][$button.'.']['pages'])) { $pids = t3lib_div::trimExplode(',', $this->thisConfig['buttons.'][$button.'.']['pages'], 1); foreach ($pids as $key => $val) { diff --git a/typo3/sysext/rtehtmlarea/hooks/install/class.tx_rtehtmlarea_deprecatedrteproperties.php b/typo3/sysext/rtehtmlarea/hooks/install/class.tx_rtehtmlarea_deprecatedrteproperties.php index 613e21f701ccd644bfd1f55f30bc45c22dfbc750..62bb0fc6c9117c08a0c69826a7716431a53aeb81 100644 --- a/typo3/sysext/rtehtmlarea/hooks/install/class.tx_rtehtmlarea_deprecatedrteproperties.php +++ b/typo3/sysext/rtehtmlarea/hooks/install/class.tx_rtehtmlarea_deprecatedrteproperties.php @@ -168,7 +168,7 @@ class tx_rtehtmlarea_deprecatedRteProperties extends Tx_Install_Updates_Base { $success = TRUE; } } else { - $customMessages = '<p>No deprecated Page TSconfig properties were found on page records.</p>' . LF ; + $customMessages = '<p>No deprecated Page TSconfig properties were found on page records.</p>' . LF; $success = TRUE; } $customMessages .= '<p>Only page records were searched for deprecated properties. However, such properties can also be used in BE group and BE user records (prepended with page.). These are not searched nor updated by this wizard.</p>' . LF . diff --git a/typo3/sysext/statictemplates/media/scripts/plaintextLib.inc b/typo3/sysext/statictemplates/media/scripts/plaintextLib.inc index e87f3faca21d4cb22b0ea30fad9cb6e1f05920c2..4303ef30457918e3aa5a11d2241255e1160f184a 100644 --- a/typo3/sysext/statictemplates/media/scripts/plaintextLib.inc +++ b/typo3/sysext/statictemplates/media/scripts/plaintextLib.inc @@ -398,7 +398,7 @@ class user_plaintext { $cParts = explode(chr(10),$str); reset($cParts); $lines=array(); - $cols = intval($this->conf['cols']) ? intval($this->conf['cols']) : 0 ; + $cols = intval($this->conf['cols']) ? intval($this->conf['cols']) : 0; $c=0; while(list(,$substrs)=each($cParts)) { $c++; diff --git a/typo3/sysext/sys_action/task/class.tx_sysaction_task.php b/typo3/sysext/sys_action/task/class.tx_sysaction_task.php index db9b51fe265eac99393fe02c1fc4b193a61bd3c5..b26d399f92cceb140a149090d520548577830b14 100644 --- a/typo3/sysext/sys_action/task/class.tx_sysaction_task.php +++ b/typo3/sysext/sys_action/task/class.tx_sysaction_task.php @@ -329,7 +329,7 @@ class tx_sysaction_task implements tx_taskcenter_Task { $GLOBALS['LANG']->getLL('success'), t3lib_FlashMessage::OK ); - $content .= $flashMessage->render() . '<br />' ; + $content .= $flashMessage->render() . '<br />'; } } diff --git a/typo3/sysext/viewpage/Classes/Controller/ViewController.php b/typo3/sysext/viewpage/Classes/Controller/ViewController.php index 6174a6512785986e1aee341a0ae3dd4f4a8dbd5e..497fb94d5fdb3cb8462d1969e09230a6c7ac9363 100644 --- a/typo3/sysext/viewpage/Classes/Controller/ViewController.php +++ b/typo3/sysext/viewpage/Classes/Controller/ViewController.php @@ -82,8 +82,7 @@ class Tx_Viewpage_Controller_ViewController extends Tx_Extbase_MVC_Controller_Ac . '/index.php?id=' . $finalPageIdToShow . $this->getTypeParameterIfSet($finalPageIdToShow) . $mountPointMpParameter - . $adminCommand - ; + . $adminCommand; return $url; } diff --git a/typo3/template.php b/typo3/template.php index 1a3dc250f7934d96db0d52ab06c6667b5d2aa99c..f87718b6fc9612b2f4739827a8f8ebb05fa8d912 100644 --- a/typo3/template.php +++ b/typo3/template.php @@ -811,7 +811,7 @@ class template { $str .= ($this->divClass?' <!-- Wrapping DIV-section for whole page END --> -</div>':'') . $this->endOfPageJsBlock ; +</div>':'') . $this->endOfPageJsBlock; }