Skip to content

Commit 1390eeb

Browse files
committed
fix: add coverage metadata for logo banner behavior
1 parent 027118a commit 1390eeb

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111

12-
- Hide DevTools logo in nested subprocesses by adding a new `--no-logo` global option for the top-level application and automatically attaching it to internal DevTools child processes, avoiding banner repetition in orchestrated command queues (#277)
12+
- Show the DevTools ASCII logo by default on all top-level command executions, while adding a `--no-logo` global option that is automatically forwarded to internal DevTools subprocesses to avoid banner repetition in orchestrated command queues (#277)
1313

1414
### Added
1515

tests/Console/Command/DependenciesCommandTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
use FastForward\DevTools\Console\Command\DependenciesCommand;
2323
use FastForward\DevTools\Console\Command\Traits\LogsCommandResults;
2424
use FastForward\DevTools\Config\ComposerDependencyAnalyserConfig;
25+
use FastForward\DevTools\Path\DevToolsPathResolver;
2526
use FastForward\DevTools\Process\ProcessBuilder;
2627
use FastForward\DevTools\Process\ProcessBuilderInterface;
2728
use FastForward\DevTools\Process\ProcessQueueInterface;
@@ -42,6 +43,7 @@
4243
use Symfony\Component\Process\Process;
4344

4445
#[CoversClass(DependenciesCommand::class)]
46+
#[UsesClass(DevToolsPathResolver::class)]
4547
#[UsesClass(ProcessBuilder::class)]
4648
#[UsesTrait(LogsCommandResults::class)]
4749
final class DependenciesCommandTest extends TestCase

tests/Process/ProcessBuilderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
use FastForward\DevTools\Path\DevToolsPathResolver;
2323
use FastForward\DevTools\Process\ProcessBuilder;
2424
use PHPUnit\Framework\Attributes\CoversClass;
25+
use PHPUnit\Framework\Attributes\UsesClass;
2526
use PHPUnit\Framework\Attributes\Test;
2627
use PHPUnit\Framework\TestCase;
2728
use Prophecy\PhpUnit\ProphecyTrait;
2829
use Symfony\Component\Process\Process;
2930

3031
#[CoversClass(ProcessBuilder::class)]
32+
#[UsesClass(DevToolsPathResolver::class)]
3133
final class ProcessBuilderTest extends TestCase
3234
{
3335
use ProphecyTrait;

0 commit comments

Comments
 (0)