Skip to content

Commit

Permalink
[BUGFIX] Adjust configuration in README
Browse files Browse the repository at this point in the history
Resolves: #1600
  • Loading branch information
sabbelasichon committed Nov 15, 2020
1 parent e6e5a6f commit 8ad4ad3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ So create your own configuration file called rector.php in the root of your proj

use Rector\Core\Configuration\Option;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Ssch\TYPO3Rector\Set\Typo3SetList;

return static function (ContainerConfigurator $containerConfigurator): void {
$parameters = $containerConfigurator->parameters();
Expand All @@ -218,7 +219,7 @@ return static function (ContainerConfigurator $containerConfigurator): void {
]
);

// FQN classes are not imported by default. If you don't to do do it manually after every Rector run, enable it by:
// FQN classes are not imported by default. If you don't do it manually after every Rector run, enable it by:
$parameters->set(Option::AUTO_IMPORT_NAMES, true);

// this will not import root namespace classes, like \DateTime or \Exception
Expand Down

0 comments on commit 8ad4ad3

Please sign in to comment.