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

TypeError on non-existent file in whitelist #664

Closed
krakjoe opened this issue Feb 1, 2019 · 0 comments
Closed

TypeError on non-existent file in whitelist #664

krakjoe opened this issue Feb 1, 2019 · 0 comments

Comments

@krakjoe
Copy link
Contributor

krakjoe commented Feb 1, 2019

Q A
php-code-coverage version 7.0.0
PHP version 7.2/7.3
Driver N/A
Xdebug version (if used) N/A
Installation Method N/A
Usage Method PHPUnit
PHPUnit version (if used) 8.0.0

When a file present in the whitelist is not accessible on disk, the whitelist contains int, when CodeCoverage::initializeData iterates over the whitelist, it passes an int to Filter::isFile which raises TypeError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant