-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
250406d
commit 55616d4
Showing
8 changed files
with
134 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Contribution | ||
|
||
Pull Requests are always welcome! Please don't forget to add an issue and connect it to your pull requests. This is very helpful to understand what kind of issue the PR is going to solve. | ||
|
||
Bugfixes: Please describe what kind of bug your fix solve and give us feedback how to reproduce the issue. We're going to accept only bugfixes if we can reproduce the issue. | ||
|
||
Features: Please create a issue first and describe the feature! | ||
|
||
## Code Checks | ||
|
||
The extension use PHP CS Fixer & PHP Unit in tooling. Please run "composer code" or equivalent to execute PHP CS Fixer and the tests in front of the commit! | ||
|
||
More tooling will be added shortly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Rector\Core\Configuration\Option; | ||
use Rector\Core\ValueObject\PhpVersion; | ||
use Rector\PostRector\Rector\NameImportingPostRector; | ||
use Ssch\TYPO3Rector\Configuration\Typo3Option; | ||
use Ssch\TYPO3Rector\Set\Typo3SetList; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$parameters = $containerConfigurator->parameters(); | ||
|
||
$parameters->set(Option::SETS, [ | ||
Typo3SetList::TYPO3_104, | ||
Typo3SetList::TYPO3_11, | ||
]); | ||
|
||
$parameters->set(Option::AUTO_IMPORT_NAMES, true); | ||
$parameters->set(Option::IMPORT_SHORT_CLASSES, false); | ||
$parameters->set(Option::IMPORT_DOC_BLOCKS, false); | ||
$parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_73); | ||
$parameters->set(Typo3Option::OUTPUT_CHANGELOG, true); | ||
|
||
$parameters->set(Option::SKIP, [ | ||
NameImportingPostRector::class => [ | ||
'ClassAliasMap.php', | ||
'ext_localconf.php', | ||
'ext_emconf.php', | ||
'ext_tables.php', | ||
__DIR__ . '/**/TCA/*', | ||
__DIR__ . '/**/Configuration/RequestMiddlewares.php', | ||
__DIR__ . '/**/Configuration/Commands.php', | ||
__DIR__ . '/**/Configuration/AjaxRoutes.php', | ||
__DIR__ . '/**/Configuration/Extbase/Persistence/Classes.php', | ||
], | ||
]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
parameters: | ||
level: 1 | ||
paths: | ||
- Classes | ||
- Tests |