Skip to content

Commit

Permalink
Upgrading may require dumping composer autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkary committed Oct 17, 2022
1 parent a98cdad commit b3767c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ The `SpeedTrap` Extension must be registered differently in `phpunit.xml`:
</phpunit>
```

Depending on how you install phpunit-speedtrap, you may need to dump the
Composer autoloader to find the new autoload location: `composer dump-autoload`

If you have extended the old `JohnKary\PHPUnit\Listener\SpeedTrapListener`, you
must extend the new `JohnKary\PHPUnit\Extension\SpeedTrap`. There are various
method name changes that may affect your custom subclass. See [PR #83](https://github.com/johnkary/phpunit-speedtrap/pull/83)
Expand Down

0 comments on commit b3767c2

Please sign in to comment.