From 83cb16a81897466ee2c1f05fa8c602b848884f31 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 21 Jan 2023 20:42:52 +0000 Subject: [PATCH] Rename files and update namespace --- bin/build-configs.php | 4 ++-- composer.json | 2 +- src/Console/Command/BuildConfigurationCommand.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/build-configs.php b/bin/build-configs.php index 8b1887f..7fae516 100644 --- a/bin/build-configs.php +++ b/bin/build-configs.php @@ -1,6 +1,6 @@ addCommands([ new BuildConfigurationCommand($twig, $filesystem), ]); -$application->setDefaultCommand('build-configuration', true); +$application->setDefaultCommand('build-configs', true); $application->run(); diff --git a/composer.json b/composer.json index eff9efd..82505d5 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ }, "autoload": { "psr-4": { - "OliverDaviesLtd\\BuildConfiguration\\": "src/" + "OliverDaviesLtd\\BuildConfigs\\": "src/" } } } diff --git a/src/Console/Command/BuildConfigurationCommand.php b/src/Console/Command/BuildConfigurationCommand.php index 3bb2370..5b24b93 100644 --- a/src/Console/Command/BuildConfigurationCommand.php +++ b/src/Console/Command/BuildConfigurationCommand.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace OliverDaviesLtd\BuildConfiguration\Console\Command; +namespace OliverDaviesLtd\BuildConfigs\Console\Command; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; @@ -16,7 +16,7 @@ use Twig\Environment; #[AsCommand( description: 'Build configuration files', - name: 'build-configuration' + name: 'build-configs' )] final class BuildConfigurationCommand extends Command {