Skip to content

krakjoe/pcov-clobber

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 

\pcov\Clobber

PCOV support was merged into PHPUnit 8, and I strongly encourage you to upgrade to PHPUnit 8 ... however ...

Since for some people, this is turning out to be a nightmare because of the usage of void, and type system rules; Here is a package that will clobber the Xdebug driver in version 5, 6 and 7 of PHPUnit.

Usage

composer require pcov/clobber in your project, this will install the drivers in your vendor directory and in addition, it will install bin/pcov.

To clobber the Xdebug driver in the current directory:

vendor/bin/pcov clobber

To unclobber the Xdebug driver (revert changes):

vendor/bin/pcov unclobber

To clobber the Xdebug driver in another directory:

vendor/bin/pcov /path/to/source clobber

To unclobber the Xdebug driver in another directory:

vendor/bin/pcov /path/to/source unclobber

Note: pcov/clobber needs to be a dependency in any directory where bin/pcov operates.

About

Run PCOV in versions of PHPUnit before 8, if you must ...

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.DRIVER

Stars

Watchers

Forks

Packages

No packages published

Languages