Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Prepare styleguide PHP file headers #470

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Build/UnitTestsBootstrap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* This file is part of the TYPO3 CMS project.
*
Expand Down
13 changes: 13 additions & 0 deletions Build/php-cs-fixer/config.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?php

/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/

if (PHP_SAPI !== 'cli') {
die('This script supports command line usage only. Please check your command.');
}
Expand Down
2 changes: 1 addition & 1 deletion Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

/**
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
Expand Down
4 changes: 2 additions & 2 deletions Classes/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide;

/**
* General styleguide exception
*/
Expand Down
6 changes: 3 additions & 3 deletions Classes/Form/Element/User1Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\Form\Element;

/**
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\Form\Element;

use TYPO3\CMS\Backend\Form\Behavior\OnFieldChangeTrait;
use TYPO3\CMS\Backend\Form\Element\AbstractFormElement;
use TYPO3\CMS\Core\Page\JavaScriptModuleInstruction;
Expand Down
6 changes: 3 additions & 3 deletions Classes/Service/KauderwelschService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\Service;

/**
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\Service;

/**
* Get test strings
*/
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator;

/**
* TcaDataGenerator exception
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Styleguide\Service\KauderwelschService;

Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeColor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use Doctrine\DBAL\Types\IntegerType;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryHelper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use Doctrine\DBAL\Types\IntegerType;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryHelper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Core\DataHandling\DataHandler;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Utility\StringUtility;
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;
Expand Down
4 changes: 2 additions & 2 deletions Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;
use TYPO3\CMS\Styleguide\TcaDataGenerator\RecordFinder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

/*
* This file is part of the TYPO3 CMS project.
*
Expand All @@ -17,6 +15,8 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGenerator;

use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface;
use TYPO3\CMS\Styleguide\TcaDataGenerator\RecordFinder;
Expand Down
Loading