Skip to content

Commit

Permalink
Add extra logging on normal verbosity (bamarni#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Jul 10, 2022
1 parent 917e1b8 commit a0b2a84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions e2e/scenario0/expected.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[bamarni-bin] Checking namespace vendor-bin/ns1
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
[bamarni-bin] Checking namespace vendor-bin/ns2
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Expand Down
2 changes: 2 additions & 0 deletions e2e/scenario2/expected.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[bamarni-bin] Checking namespace vendor-bin/ns1
> echo ns1
ns1
[bamarni-bin] Checking namespace vendor-bin/ns2
> echo ns2
ns2
2 changes: 1 addition & 1 deletion src/BinCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private function executeInNamespace(
OutputInterface $output,
ReflectionProperty $commandsReflection
): int {
$this->logger->logDebug(
$this->logger->logStandard(
sprintf(
'Checking namespace <comment>%s</comment>',
$namespace
Expand Down

0 comments on commit a0b2a84

Please sign in to comment.