Skip to content

Commit 12d0969

Browse files
Class was accidentally created in the test folder
Signed-off-by: Bastian Schwarz <bastian@codename-php.de>
1 parent 9c65073 commit 12d0969

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

test/taskMatcher/collection/AtLeastOne.php renamed to src/taskMatcher/collection/AtLeastOne.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
namespace de\codenamephp\deployer\base\test\taskMatcher\collection;
18+
namespace de\codenamephp\deployer\base\taskMatcher\collection;
1919

2020
use de\codenamephp\deployer\base\taskMatcher\iTaskMatcher;
2121
use Deployer\Task\Task;
@@ -25,10 +25,16 @@
2525
*/
2626
final class AtLeastOne implements iTaskMatcher {
2727

28+
/**
29+
* @var iTaskMatcher[]
30+
*/
2831
private array $taskMatcher;
2932

3033
public function __construct(iTaskMatcher ...$taskMatcher) { $this->taskMatcher = $taskMatcher; }
3134

35+
/**
36+
* @return iTaskMatcher[]
37+
*/
3238
public function getTaskMatcher() : array {
3339
return $this->taskMatcher;
3440
}

test/taskMatcher/collection/AtLeastOneTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
namespace de\codenamephp\deployer\base\test\taskMatcher\collection;
1919

20+
use de\codenamephp\deployer\base\taskMatcher\collection\AtLeastOne;
2021
use de\codenamephp\deployer\base\taskMatcher\iTaskMatcher;
2122
use Deployer\Task\Task;
2223
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)