@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * |
| 19 | 19 | * @return int |
| 20 | 20 | */ |
| 21 | - public function execute(?array $sources=null): int; |
|
| 21 | + public function execute(?array $sources = null): int; |
|
| 22 | 22 | |
| 23 | 23 | //-------------------------------------------------------------------------------------------------------------------- |
| 24 | 24 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function logDebug(string $format, mixed ...$values): void |
| 51 | 51 | { |
| 52 | - if ($this->getVerbosity()>=OutputInterface::VERBOSITY_DEBUG) |
|
| 52 | + if ($this->getVerbosity() >= OutputInterface::VERBOSITY_DEBUG) |
|
| 53 | 53 | { |
| 54 | 54 | $this->writeln(vsprintf('<info>'.$format.'</info>', $values)); |
| 55 | 55 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | */ |
| 67 | 67 | public function logInfo(string $format, mixed ...$values): void |
| 68 | 68 | { |
| 69 | - if ($this->getVerbosity()>=OutputInterface::VERBOSITY_NORMAL) |
|
| 69 | + if ($this->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL) |
|
| 70 | 70 | { |
| 71 | 71 | $this->writeln(vsprintf('<info>'.$format.'</info>', $values)); |
| 72 | 72 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | public function logNote(string $format, mixed ...$values): void |
| 85 | 85 | { |
| 86 | - if ($this->getVerbosity()>=OutputInterface::VERBOSITY_NORMAL) |
|
| 86 | + if ($this->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL) |
|
| 87 | 87 | { |
| 88 | 88 | $this->writeln('<note> ! [NOTE] '.vsprintf($format, $values).'</note>'); |
| 89 | 89 | } |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | */ |
| 101 | 101 | public function logVerbose(string $format, mixed ...$values): void |
| 102 | 102 | { |
| 103 | - if ($this->getVerbosity()>=OutputInterface::VERBOSITY_VERBOSE) |
|
| 103 | + if ($this->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) |
|
| 104 | 104 | { |
| 105 | 105 | $this->writeln(vsprintf('<info>'.$format.'</info>', $values)); |
| 106 | 106 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | */ |
| 118 | 118 | public function logVeryVerbose(string $format, mixed ...$values): void |
| 119 | 119 | { |
| 120 | - if ($this->getVerbosity()>=OutputInterface::VERBOSITY_VERY_VERBOSE) |
|
| 120 | + if ($this->getVerbosity() >= OutputInterface::VERBOSITY_VERY_VERBOSE) |
|
| 121 | 121 | { |
| 122 | 122 | $this->writeln(vsprintf('<info>'.$format.'</info>', $values)); |
| 123 | 123 | } |