Skip to content

Always display timing after run, except when in quiet mode #1011

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 15, 2025

Description

⚠️ This PR depends on PR #1010, which needs to be merged first. ⚠️


What with the Timing output now going to STDERR, we no longer need to be concerned about the Timing output ending up in json, csv or xml reports (to name a few).

In effect, this means, we can now always display Timing and memory usage info at the end of the run.

I'm making one exception though: timing will not be displayed when running in quiet mode.

Suggested changelog entry

Add to changelog entry for STDERR change:
- With this change in place, timing and memory consumption stats will now be displayed more often as it won't interfere with reports.

@jrfnl jrfnl force-pushed the phpcs-4.0/feature/sq-1612-stdout-vs-stderr branch from a78b0dd to c3fc316 Compare April 17, 2025 09:00
@jrfnl jrfnl force-pushed the phpcs-4.0/feature/sq-1612-stdout-vs-stderr branch 4 times, most recently from 547a345 to 93ce29b Compare April 17, 2025 13:00
Base automatically changed from phpcs-4.0/feature/sq-1612-stdout-vs-stderr to 4.x April 17, 2025 13:09
What with the Timing output now going to `STDERR`, we no longer need to be concerned about the Timing output ending up in `json`, `csv` or `xml` reports (to name a few).

In effect, this means, we can now always display Timing and memory usage info at the end of the run.

I'm making one exception though: timing will not be displayed when running in `quiet` mode.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
@jrfnl jrfnl force-pushed the phpcs-4.0/feature/always-display-runtime-info branch from 173b62a to 7a24e38 Compare April 17, 2025 13:12
@jrfnl jrfnl marked this pull request as ready for review April 17, 2025 13:13
@jrfnl jrfnl merged commit 55f1a75 into 4.x Apr 17, 2025
54 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/always-display-runtime-info branch April 17, 2025 13:22
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.

3 participants