Skip to content

Introduced a start and stop function #51

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

Closed
wants to merge 1 commit into from
Closed

Introduced a start and stop function #51

wants to merge 1 commit into from

Conversation

legovaer
Copy link

This PR introduces two new commands: start and stop. This will allow a user to start analyzing all executed PHP scripts between the start and the stop command. Every PHP file which needs to be analyzed needs to include the autocoverage PHP file:

require <phpcov_directory>/src/lib/autocoverage.php

Then a coverage analysis can be started by executing:

phpcov start

As soon as all php files have been executed, the coverage then can be stopped by executing

phpcov stop

Which accepts exactly the same arguments / options as phpcov execute

@sebastianbergmann
Copy link
Owner

This is outside the scope of this project, sorry.

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