ssch / typo3-rector-testing-framework
Rector upgrade or migration rules for TYPO3 Testing Framework
Installs: 116 898
Dependents: 7
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 2
Type:rector-extension
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
Install
All you need to do is install the package, and you're good to go:
composer require ssch/typo3-rector-testing-framework --dev
Use Sets
To add a set to your config, use one of the classes from sets under Ssch\\Typo3RectorTestingFramework\\Set\\
class and pick one of the constants:
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, ]); };