From 98c0fa8440ce86f461a251c4c033711750352366 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sat, 2 May 2026 15:45:23 +0200 Subject: [PATCH] remove defaultName method from baked command --- templates/bake/Command/command.twig | 10 ---------- tests/comparisons/Command/testBakePlugin.php | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/templates/bake/Command/command.twig b/templates/bake/Command/command.twig index d862366b..7c376d59 100644 --- a/templates/bake/Command/command.twig +++ b/templates/bake/Command/command.twig @@ -35,16 +35,6 @@ class {{ name }}Command extends Command */ protected string $name = '{{ command_name }}'; - /** - * Get the default command name. - * - * @return string - */ - public static function defaultName(): string - { - return '{{ command_name }}'; - } - /** * Get the command description. * diff --git a/tests/comparisons/Command/testBakePlugin.php b/tests/comparisons/Command/testBakePlugin.php index f3f0ea73..6abb4d67 100644 --- a/tests/comparisons/Command/testBakePlugin.php +++ b/tests/comparisons/Command/testBakePlugin.php @@ -20,16 +20,6 @@ class ExampleCommand extends Command */ protected string $name = 'test_bake example'; - /** - * Get the default command name. - * - * @return string - */ - public static function defaultName(): string - { - return 'test_bake example'; - } - /** * Get the command description. *