Commit 14cc9269 authored by Roland Waldner's avatar Roland Waldner Committed by Christian Kuhn
Browse files

[CLEANUP] Add missing empty lines before classes' closing curly braces

Most of TYPO3's PHP files have an empty line before a class' closing curly
brace. This commit adds this empty line (if it is missing) before a class'
closing curly brace.

This is not part of the TYPO3 CMS CGL but increases consistency in this
area.

This regular expression was used to add the empty lines:

Search:
(}\n)(})

Replace:
$1\n$2

Resolves: #63942
Release: master
Change-Id: Icd6547322ac8b7310956d347fd73c90bde2bbfa7
Reviewed-on: http://review.typo3.org/35527


Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 84f2d555
......@@ -219,4 +219,5 @@ abstract class AbstractContextMenuDataProvider {
}
return $contentUrl;
}
}
......@@ -765,4 +765,5 @@ class BackendController {
}
return $view;
}
}
......@@ -221,4 +221,5 @@ class FileController {
return $result;
}
}
......@@ -658,4 +658,5 @@ class NewRecordController {
protected function getBackendUserAuthentication() {
return $GLOBALS['BE_USER'];
}
}
......@@ -284,4 +284,5 @@ class SimpleDataHandlerController {
$ajaxRequestHandler->setContentFormat('json');
$ajaxRequestHandler->setContent($content);
}
}
......@@ -100,4 +100,5 @@ class AbstractWizardController {
protected function getDatabaseConnection() {
return $GLOBALS['TYPO3_DB'];
}
}
......@@ -867,4 +867,5 @@ class FormsController extends AbstractWizardController {
' . implode('', $lines) . '
</table>';
}
}
......@@ -251,4 +251,5 @@ class RteController extends AbstractWizardController {
}
return $buttons;
}
}
......@@ -579,4 +579,5 @@ class TableController extends AbstractWizardController {
// Return configuration array:
return $cfgArr;
}
}
......@@ -395,4 +395,5 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface {
}
return $iconFilename;
}
}
......@@ -931,4 +931,5 @@ class DataPreprocessor {
protected function getLanguageService() {
return $GLOBALS['LANG'];
}
}
......@@ -91,4 +91,5 @@ abstract class AbstractFormElement {
// These classes do not inherit from any common class, but they all seem to have a "doc" member
return $GLOBALS['SOBE']->doc;
}
}
......@@ -144,4 +144,5 @@ class CheckboxElement extends AbstractFormElement {
. $elementName . '.value&' . (pow(2, $checkboxesCount) - 1 - $checkboxPow) . ');' . $additionalJavaScript;
return ' onclick="' . htmlspecialchars($onClick) . '"' . ($formElementValue & $checkboxPow ? ' checked="checked"' : '');
}
}
......@@ -573,4 +573,5 @@ class FlexElement extends AbstractFormElement {
}
return $item;
}
}
......@@ -289,4 +289,5 @@ class GroupElement extends AbstractFormElement {
}
return $item;
}
}
......@@ -2610,4 +2610,5 @@ class InlineElement {
protected function getLanguageService() {
return $GLOBALS['LANG'];
}
}
......@@ -172,4 +172,5 @@ TBE_EDITOR.customEvalFunctions[\'' . $evalData . '\'] = function(value) {
return $item;
}
}
......@@ -33,4 +33,5 @@ class NoneElement extends AbstractFormElement {
$itemValue = $additionalInformation['itemFormElValue'];
return $this->formEngine->getSingleField_typeNone_render($config, $itemValue);
}
}
......@@ -73,4 +73,5 @@ class RadioElement extends AbstractFormElement {
}
return $item;
}
}
......@@ -909,4 +909,5 @@ class SelectElement extends AbstractFormElement {
public function isForceAlternativeFieldValueUse() {
return $this->forceAlternativeFieldValueUse;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment