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

Runner: allow the Performance report when running phpcbf #308

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 27, 2024

Description

As things were, a phpcbf run overruled the Config::$reports setting / --report=... CLI arguments to always only show the Cbf report.

As running the Performance report can also be useful for phpcbf (to find particularly slow fixers), I'm proposing to change the logic which overrules the reports setting for phpcbf to allow for displaying the Performance report as well (if requested).

Suggested changelog entry

  • Performance report can now be used for a phpcbf run.

Related issues/external references

Related to #60

Types of changes

  • New feature (non-breaking change which adds functionality)

@jrfnl
Copy link
Member Author

jrfnl commented Jan 31, 2024

Unless there are objections/someone leaves a comments on this PR, I will merge this tomorrow.

As things were, a `phpcbf` run overruled the `Config::$reports` setting / `--report=...` CLI arguments to always only show the `Cbf` report.

As running the Performance report can also be useful for `phpcbf` (to find particularly slow fixers), I'm proposing to change the logic which overrules the reports setting for `phpcbf` to allow for displaying the `Performance` report as well (if requested).
@jrfnl jrfnl force-pushed the feature/runner-allow-phpcbf-with-performance-report branch from ceb885b to e59ef4b Compare February 2, 2024 03:31
@jrfnl
Copy link
Member Author

jrfnl commented Feb 2, 2024

Rebased without changes. Merging once the build passes.

@jrfnl jrfnl merged commit 90ea70c into master Feb 2, 2024
44 checks passed
@jrfnl jrfnl deleted the feature/runner-allow-phpcbf-with-performance-report branch February 2, 2024 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant