ssch / typo3-rector-testing-framework
TYPO3 测试框架的 Rector 升级或迁移规则
v2.0.1
2024-03-05 10:41 UTC
Requires
- php: >=7.4
- rector/rector: ^1.0
Requires (Dev)
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.5
- symplify/easy-coding-standard: ^12.1
README
安装
您只需要安装此包,一切就绪
composer require ssch/typo3-rector-testing-framework --dev
使用集
要将集添加到您的配置中,请使用 Ssch\\Typo3RectorTestingFramework\\Set\\
类下的某个类,并选择其中一个常量
use Ssch\Typo3RectorTestingFramework\Set\NimutTestingFrameworkSetList; use Ssch\Typo3RectorTestingFramework\Set\TYPO3TestingFrameworkSetList; use Rector\Config\RectorConfig; return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ NimutTestingFrameworkSetList::NIMUT_TESTING_FRAMEWORK_TO_TYPO3_TESTING_FRAMEWORK, TYPO3TestingFrameworkSetList::TYPO3_TESTING_FRAMEWORK_7, ]); };