Skip to content

Commit

Permalink
[BUGFIX] Import missing namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschaufi committed Jan 26, 2024
1 parent 2149549 commit d7f5d0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/typo3-testingframework/typo3-testingframework-7.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use PHPStan\Type\StringType;
use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
use Rector\Renaming\ValueObject\MethodCallRename;
use Rector\TypeDeclaration\Rector\Property\AddPropertyTypeDeclarationRector;
use Rector\TypeDeclaration\ValueObject\AddPropertyTypeDeclaration;
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->import(__DIR__ . '/../config.php');
Expand Down Expand Up @@ -45,7 +45,7 @@

$rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [
new MethodCallRename(
FunctionalTestCase::class,
'TYPO3\TestingFramework\Core\Functional\FunctionalTestCase',
'executeFrontendRequest',
'executeFrontendSubRequest'
),
Expand Down
3 changes: 2 additions & 1 deletion config/v10/typo3-101.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Ssch\TYPO3Rector\Rector\v10\v1\RegisterPluginWithVendorNameRector;
use Ssch\TYPO3Rector\Rector\v10\v1\RemoveEnableMultiSelectFilterTextfieldRector;
use Ssch\TYPO3Rector\Rector\v10\v1\SendNotifyEmailToMailApiRector;
use Ssch\TYPO3Rector\Rector\v10\v1\typo3\RefactorCHashArrayOfTSFERector;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->import(__DIR__ . '/../config.php');
Expand Down Expand Up @@ -52,5 +53,5 @@
$rectorConfig->rule(SendNotifyEmailToMailApiRector::class);
$rectorConfig->rule(RefactorInternalPropertiesOfTSFERector::class);
$rectorConfig->rule(RemoveEnableMultiSelectFilterTextfieldRector::class);
$rectorConfig->rule(\Ssch\TYPO3Rector\Rector\v10\v1\typo3\RefactorCHashArrayOfTSFERector::class);
$rectorConfig->rule(RefactorCHashArrayOfTSFERector::class);
};

0 comments on commit d7f5d0a

Please sign in to comment.