phpunit-speedtrap icon indicating copy to clipboard operation
phpunit-speedtrap copied to clipboard

Documentation usage example

Open netdjw opened this issue 2 years ago • 2 comments

On the GitHub repository main page currently is the example under "Usage" section:

<phpunit bootstrap="vendor/autoload.php">
...
    <extensions>
        <extension class="JohnKary\PHPUnit\Extension\SpeedTrap" />
    </extensions>
</phpunit>

I tried this code and failed. But this one is worked:

    <listeners>
        <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
    </listeners>

netdjw avatar Nov 17 '22 10:11 netdjw

ya they changed the namespace back in March 2021 but didn't update the docs: https://github.com/johnkary/phpunit-speedtrap/commit/8c280eed9e447f366bbfb2584622b4a956c395f0

tn3rb avatar Jan 26 '23 02:01 tn3rb

I just hit this issue; seems like if @johnkary just published a new release this would be resolved...

ggilder avatar Jul 10 '23 17:07 ggilder