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

Added a test file and testcase for issue #831. #832

Closed
wants to merge 2 commits into from
Closed

Added a test file and testcase for issue #831. #832

wants to merge 2 commits into from

Conversation

thirsch
Copy link
Contributor

@thirsch thirsch commented Nov 23, 2020

This test shows the issue and also the expected result for #831.

@thirsch
Copy link
Contributor Author

thirsch commented Nov 23, 2020

Well, an easy fix would be to simply add one to the line-count here https://github.com/sebastianbergmann/php-code-coverage/blob/master/src/StaticAnalysis/ParsingCoveredFileAnalyser.php#L121

What do you think?

…linesOfCodeFor-file-without-newline-is-wrong
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

Successfully merging this pull request may close these issues.

2 participants