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

Prevent VoidProgress from outputting anything #7031

Merged
merged 1 commit into from Nov 30, 2021

Conversation

weirdan
Copy link
Collaborator

@weirdan weirdan commented Nov 30, 2021

Fixes #7028

@weirdan weirdan added the release:internal The PR will be included in 'Internal changes' section of the release notes label Nov 30, 2021
@weirdan weirdan requested a review from orklah November 30, 2021 19:23
@orklah
Copy link
Collaborator

orklah commented Nov 30, 2021

I almost feel like the fwrite part should have been in each child. I mean, Progress is basically an interface at this point, it's weird to have some code there. But yeah, otherwise, seems fine :)

@weirdan
Copy link
Collaborator Author

weirdan commented Nov 30, 2021

@orklah it seems that way, yes. But making it no-op would be a BC break for possible external descendants. Strictly speaking even this change is a BC break as someone may have relied on VoidProgress::write() producing output (and may have extended it as well).

@weirdan weirdan merged commit 812d62d into vimeo:master Nov 30, 2021
@weirdan weirdan deleted the suppress-void-progress-output branch November 30, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:internal The PR will be included in 'Internal changes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHPUnit output cluttered
2 participants