Skip to content

Fixed to run autoloading code before phpunit codecoverage simming #42

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
merged 1 commit into from
May 26, 2018

Conversation

sapzape
Copy link
Contributor

@sapzape sapzape commented Mar 16, 2018

The autoload operation must be preceded before class_alias() can be used in CodeCoverage related classes.
If the class_alias() of the codecoverage class is preceeded before the autoload is run, the apache error_log looks like this:

[Fri Mar 16 15:29:54.916903 2018] [:error] [pid 20876:tid 2012] [client ::1:54096] PHP Fatal error: Uncaught Error: Class 'PHP_CodeCoverage' not found in

@nicholascus
Copy link

nicholascus commented Mar 20, 2018

Ups, I was trying to fix that too :)
#43

@DavertMik DavertMik merged commit a426c8d into Codeception:2.0 May 26, 2018
@DavertMik
Copy link
Member

Thanks!

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.

3 participants