summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2026-04-16 09:01:33 +0200
committerChristian Weiske <cweiske@cweiske.de>2026-04-16 09:01:33 +0200
commit768e8f4ff27842401d8faa8cac8fd0e5db413ac4 (patch)
treee809ff40a8eed667acaaeddca68ef94b559ed3b7
parente67bdc8973e44cd405b6e6910b14383c4e374725 (diff)
download965-768e8f4ff27842401d8faa8cac8fd0e5db413ac4.tar.gz
965-768e8f4ff27842401d8faa8cac8fd0e5db413ac4.zip
-rw-r--r--phork0.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/phork0.php b/phork0.php
index 1ddc6f6..99b0823 100644
--- a/phork0.php
+++ b/phork0.php
@@ -13,14 +13,11 @@ class MyCommand extends Command
protected function execute(InputInterface $input, OutputInterface $output): int
{
$ioV = new SymfonyStyle($input, $output->isVerbose() ? $output : new NullOutput());
- $this->ioVV = new SymfonyStyle(
- $input,
- $output->isVeryVerbose() ? $output : new NullOutput()
- );
- $this->ioVVV = new SymfonyStyle($input, $output->isDebug() ? $output : new NullOutput());
+ $ioVV = new SymfonyStyle($input, $output->isVeryVerbose() ? $output : new NullOutput());
+ $ioVVV = new SymfonyStyle($input, $output->isDebug() ? $output : new NullOutput());
- $this->ioV->writeln('message visible with -v only');
- $this->ioVV->writeln('message visible with -vv only');
- $this->ioVVV->writeln('message visible with -vvv only');
+ $ioV->writeln('message visible with -v only');
+ $ioVV->writeln('message visible with -vv only');
+ $ioVVV->writeln('message visible with -vvv only');
}
} \ No newline at end of file