Implement common abstract base command

This commit is contained in:
Christopher Vagnetoft
2026-01-09 17:43:54 +01:00
parent 520de9e7b8
commit c30c04d1f9
5 changed files with 34 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ use NoccyLabs\Composer\PackagePlugin\Registry\RegistryFactory;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class PackageBuildCommand extends BaseCommand
class PackageBuildCommand extends PackageCommand
{
protected function configure(): void
{
@@ -48,7 +48,7 @@ class PackageBuildCommand extends BaseCommand
}
if ($registry) {
$credentials = new InsecureStore();
$credentials = $this->getCredentialsStore();
$providers = [
'gitea' => new GiteaProvider($credentials)