Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move result cache output from debug to verbose mode #3345

Open
wants to merge 2 commits into
base: 1.11.x
Choose a base branch
from

Conversation

janedbal
Copy link
Contributor

Since there are more and more DiagnoseExtensions with spammy output being added, we are switching from -vvv to -vv mode. But I think result cache info is still pretty important even when debug mode is not enabled, so I changed it.

@janedbal
Copy link
Contributor Author

janedbal commented Sep 4, 2024

Any remarks? We switched to -vv, but this important info is missing now...

@@ -92,21 +92,21 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
{
$startTime = microtime(true);
if ($debug) {
if ($output->isDebug()) {
if ($output->isVerbose()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd switch to isVeryVerbose (it's part of the interface already)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants