Skip to content

Commit 5762656

Browse files
committed
fix(GenerateWPUnit) avoid duplicated definition issue
1 parent 2755e14 commit 5762656

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [unreleased] Unreleased
66

7+
### Fixed
8+
9+
- Avoid duplicated definition issue in `GenerateWPUnit` command.
10+
711
## [4.4.1] 2024-12-09;
812

913
### Fixed

src/Command/GenerateWPUnit.php

-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ protected function getGenerator(array $config, string $class): AbstractGenerator
135135
protected function configure(): void
136136
{
137137
$this->setDefinition([
138-
new InputArgument('suite', InputArgument::REQUIRED, 'suite where tests will be put'),
139-
new InputArgument('class', InputArgument::REQUIRED, 'class name'),
140138
new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config'),
141139
]);
142140
parent::configure();

0 commit comments

Comments
 (0)