From b3767c233f5077846cd3f27059aeb94eade8e794 Mon Sep 17 00:00:00 2001 From: John Kary Date: Sun, 16 Oct 2022 21:00:20 -0500 Subject: [PATCH] Upgrading may require dumping composer autoloader --- UPGRADE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index 64e5af4..1f4dd24 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -30,6 +30,9 @@ The `SpeedTrap` Extension must be registered differently in `phpunit.xml`: ``` +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)