Skip to content

Commit

Permalink
Fix downgrade TYPO3 Visitor interface (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 11, 2021
1 parent d5b864b commit e073f09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions build/config/config-downgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 => [
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e073f09

Please sign in to comment.