Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PhpUnitBridge] Modernize CoverageListener #39644

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

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.x
Bug fix? no
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

This PR proposes to merge CoverageListener, CoverageListenerForV7 and CoverageListenerTrait into a single class because we don't have to deal with multiple implementations anymore.

Additionally, I've removed compat code for PHPUnit < 7.5 and added type declarations where possible.

@derrabus derrabus force-pushed the improvement/modernize-coverage-listener branch 2 times, most recently from 1478d88 to fc48dfd Compare December 29, 2020 00:12
@derrabus derrabus force-pushed the improvement/modernize-coverage-listener branch from fc48dfd to eb16690 Compare December 29, 2020 00:19
@derrabus derrabus added this to the 5.x milestone Dec 29, 2020
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit e905b8d into symfony:5.x Dec 29, 2020
@derrabus derrabus deleted the improvement/modernize-coverage-listener branch December 29, 2020 11:01
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