[CLEANUP] Add missing empty lines after namespace statements 92/35392/2
authorRoland Waldner <mostwantedtypo3@gmail.com>
Sat, 13 Dec 2014 16:27:47 +0000 (17:27 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Dec 2014 19:22:22 +0000 (20:22 +0100)
At the moment in some classes you can find an empty line between the
copyright comment and the namespace statement. In some other classes
there is no such empty line.

This commit adds an empty line after the namespace statement if there
is no empty line.

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:
(namespace .*\n)(/\*)

Replace:
$1\n$2

Resolves: #63831
Releases: master
Change-Id: I14c08c64ccbdb39001a5c303c629b1dfaa3a6c0f
Reviewed-on: http://review.typo3.org/35392
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
50 files changed:
typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php
typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php
typo3/sysext/core/Classes/Core/ClassAliasMap.php
typo3/sysext/core/Classes/DataHandling/TableColumnSubType.php
typo3/sysext/core/Classes/DataHandling/TableColumnType.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/extbase/Classes/Persistence/Exception/IllegalRelationTypeException.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Administrator.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Comment.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Person.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Tag.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/AdministratorRepository.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/BlogRepository.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/PersonRepository.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/PostRepository.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php
typo3/sysext/form/Tests/Unit/Validation/AlphanumericValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/DateValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/DigitValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/EmailValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/EqualsValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FileAllowedTypesValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FileMaximumSizeValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FloatValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/Helper.php
typo3/sysext/form/Tests/Unit/Validation/InArrayValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/IntegerValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/IpValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/LengthValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/LessThanValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/RegExpValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/RequiredValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/UriValidatorTest.php
typo3/sysext/frontend/Classes/FrontendRequestHandler.php
typo3/sysext/lang/Classes/Domain/Model/Language.php
typo3/sysext/lang/Classes/Domain/Model/LanguageSelectionForm.php
typo3/sysext/lang/Classes/Domain/Model/UpdateTranslationForm.php
typo3/sysext/lang/Classes/Domain/Repository/ExtensionRepository.php
typo3/sysext/lang/Classes/Domain/Repository/LanguageRepository.php
typo3/sysext/lang/Classes/Exception/Lang.php
typo3/sysext/lang/Classes/Exception/Ter.php
typo3/sysext/lang/Classes/Exception/XmlParser.php
typo3/sysext/lang/Classes/Utility/Connection/Ter.php
typo3/sysext/lang/Classes/ViewHelpers/Be/SpriteIconViewHelper.php
typo3/sysext/lang/Tests/Unit/Domain/Model/LanguageSelectionFormTest.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php
typo3/sysext/rtehtmlarea/Classes/Controller/UserElementsController.php
typo3/sysext/rtehtmlarea/Classes/Hook/Frontend/Controller/TypoScriptFrontendControllerHook.php

index 7d32f78..1f23150 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Core\Core;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 5688e12..f4d2bed 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Core\DataHandling;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 5386377..ae06401 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Core\DataHandling;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 73eb9e6..c69e552 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Core\Tests\Unit\Resource;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 90568e8..ed78f92 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 4fe89c8..ade505c 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 8c96d83..e1c9f52 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index cda484d..7fba6d0 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index a2574a5..05ffd23 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index cf7ecfd..be3f8cb 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 59ecd2c..a732845 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 7a580ac..341c27a 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 2310e8d..234ff23 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index de09bce..23b39a3 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index f945b11..6ffde18 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 526de92..d19ad62 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Validation;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index e10fa68..5fd4768 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Frontend;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 8563b8b..ee07e4a 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Lang\Domain\Model;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index c0f9748..00e4146 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Lang\Exception;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index a21dd09..b4e1b05 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Lang\Exception;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 7e78498..a9b0fbd 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Lang\Exception;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index c1f5909..fcd07e7 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Lang\Utility\Connection;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *
index 0e982f8..654a159 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Rtehtmlarea;
+
 /*
  * This file is part of the TYPO3 CMS project.
  *