mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
Rename files and update namespace
This commit is contained in:
parent
31600df9c3
commit
83cb16a818
|
@ -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();
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"OliverDaviesLtd\\BuildConfiguration\\": "src/"
|
"OliverDaviesLtd\\BuildConfigs\\": "src/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue