diff --git a/build/config/config-downgrade.php b/build/config/config-downgrade.php index d91c4bc2613..9ba3f22d9f4 100644 --- a/build/config/config-downgrade.php +++ b/build/config/config-downgrade.php @@ -13,7 +13,6 @@ use Rector\DowngradePhp72\Rector\ClassMethod\DowngradeParameterTypeWideningRector; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\Set\ValueObject\DowngradeSetList; -use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\AbstractTypoScriptRector; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\StyleInterface; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -62,7 +61,7 @@ \Symplify\RuleDocGenerator\Contract\RuleCodeSamplePrinterInterface::class, \Symplify\RuleDocGenerator\Contract\Category\CategoryInfererInterface::class, \PhpParser\PrettyPrinterAbstract::class, - AbstractTypoScriptRector::class, + \Helmich\TypoScriptParser\Parser\Traverser\Visitor::class, ], DowngradeParameterTypeWideningRector::SAFE_TYPES_TO_METHODS => [ ContainerInterface::class => [ diff --git a/phpstan.neon b/phpstan.neon index 0d20f311f51..fb1c120436e 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -524,3 +524,7 @@ parameters: # resolve later - '#Variables "\$(.*?)" are overridden\. This can lead to unwanted bugs, please pick a different name to avoid it#' + + - + message: '#Instead of array shape, use value object with specific types in constructor and getters#' + path: src/NodeFactory/ClassWithPublicPropertiesFactory.php #26