-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PhpUnitBridge] Skip internal classes in CoverageListenerTrait #38094
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
Conversation
@derrabus if you have a second to have a look |
Can you provide an example of a test that would fail without your changes? |
Sure, this is how it looks. This |
A relevant commit: sebastianbergmann/phpunit@e06850c A test for |
Thank you @sanmai. |
This PR was merged into the 4.4 branch. Discussion ---------- [PhpUnitBridge] Fix error with ReflectionClass | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT Introduced in #38094. Wish I know how I missed that. Commits ------- ed1bffe [PhpUnitBridge] Fix error with ReflectionClass
PHPUnit 9+ is picky about test covering, say, a
\RuntimeException
. Fails with the likes:Judging by the commit sebastianbergmann/phpunit@e06850c this change is required for PHPUnit 9.1 and up. Here's it being tested.