PHP code example of ssch / typo3-rector-testing-framework
1. Go to this page and download the library: Download ssch/typo3-rector-testing-framework library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ssch / typo3-rector-testing-framework example snippets
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,
]);
};