Skip to content

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...

@janedbal janedbal force-pushed the result-cache-verbose branch from 796d854 to 82f8844 Compare October 2, 2024 10:13
@janedbal janedbal changed the base branch from 1.11.x to 1.12.x October 2, 2024 10:13
@janedbal janedbal requested a review from ondrejmirtes October 2, 2024 10:14
@janedbal janedbal changed the title Move result cache output from debug to verbose mode Move result cache output from debug to very verbose mode Oct 2, 2024
}
if (!is_file($extensionFile)) {
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.

Should be isVeryVerbose() in places where you still left isVerbose().

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Missed this one, thx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Double checked, last one in verbose mode is the "Result cache restored", would you keep it?

@ondrejmirtes ondrejmirtes merged commit c79b69a into phpstan:1.12.x Oct 9, 2024
@ondrejmirtes
Copy link
Member

Thank you.

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