Skip to content

Commit

Permalink
[TASK] Rename ConfigFilesystem to ConfigFilesystemWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschaufi committed Sep 30, 2024
1 parent fd568e7 commit da3f5ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions utils/generator/src/Command/Typo3GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use RuntimeException;
use Ssch\TYPO3Rector\Filesystem\FileInfoFactory;
use Ssch\TYPO3Rector\Generator\Factory\Typo3RectorTypeFactory;
use Ssch\TYPO3Rector\Generator\FileSystem\ConfigFilesystem;
use Ssch\TYPO3Rector\Generator\FileSystem\ConfigFilesystemWriter;
use Ssch\TYPO3Rector\Generator\Finder\TemplateFinder;
use Ssch\TYPO3Rector\Generator\Generator\FileGenerator;
use Ssch\TYPO3Rector\Generator\ValueObject\Typo3RectorRecipe;
Expand Down Expand Up @@ -46,7 +46,7 @@ final class Typo3GenerateCommand extends Command
/**
* @readonly
*/
private ConfigFilesystem $configFilesystem;
private ConfigFilesystemWriter $configFilesystemWriter;

/**
* @readonly
Expand All @@ -57,14 +57,14 @@ public function __construct(
TemplateFinder $templateFinder,
FileGenerator $fileGenerator,
OutputInterface $outputStyle,
ConfigFilesystem $configFilesystem,
ConfigFilesystemWriter $configFilesystemWriter,
FileInfoFactory $fileInfoFactory
) {
parent::__construct();
$this->templateFinder = $templateFinder;
$this->fileGenerator = $fileGenerator;
$this->outputStyle = $outputStyle;
$this->configFilesystem = $configFilesystem;
$this->configFilesystemWriter = $configFilesystemWriter;
$this->fileInfoFactory = $fileInfoFactory;
}

Expand Down Expand Up @@ -117,7 +117,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
(string) $targetDirectory
);

$this->configFilesystem->addRuleToConfigurationFile(
$this->configFilesystemWriter->addRuleToConfigurationFile(
$recipe->getSet(),
$templateVariables,
self::RECTOR_FQN_NAME_PATTERN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Ssch\TYPO3Rector\Generator\Factory\TemplateFactory;
use Symfony\Component\Filesystem\Filesystem;

final class ConfigFilesystem
final class ConfigFilesystemWriter
{
/**
* @var string[]
Expand Down

0 comments on commit da3f5ea

Please sign in to comment.