Rename files and update namespace

This commit is contained in:
Oliver Davies 2023-01-21 20:42:52 +00:00
parent 31600df9c3
commit 83cb16a818
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<?php <?php
use OliverDaviesLtd\BuildConfiguration\Console\Command\BuildConfigurationCommand; use OliverDaviesLtd\BuildConfigs\Console\Command\BuildConfigurationCommand;
use Symfony\Component\Console\Application; use Symfony\Component\Console\Application;
use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\Filesystem\Filesystem;
use Twig\Environment; use Twig\Environment;
@ -17,5 +17,5 @@ $application->addCommands([
new BuildConfigurationCommand($twig, $filesystem), new BuildConfigurationCommand($twig, $filesystem),
]); ]);
$application->setDefaultCommand('build-configuration', true); $application->setDefaultCommand('build-configs', true);
$application->run(); $application->run();

View file

@ -12,7 +12,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"OliverDaviesLtd\\BuildConfiguration\\": "src/" "OliverDaviesLtd\\BuildConfigs\\": "src/"
} }
} }
} }

View file

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OliverDaviesLtd\BuildConfiguration\Console\Command; namespace OliverDaviesLtd\BuildConfigs\Console\Command;
use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
@ -16,7 +16,7 @@ use Twig\Environment;
#[AsCommand( #[AsCommand(
description: 'Build configuration files', description: 'Build configuration files',
name: 'build-configuration' name: 'build-configs'
)] )]
final class BuildConfigurationCommand extends Command final class BuildConfigurationCommand extends Command
{ {