Could not use "NunoMaduroCollisionAdaptersPhpunitPrinter" as printer: class does not exist
matevisky opened this issue · comments
Strange a simple
php artisan test
is working but
php artisan test --watch
not and getting the following error:
php artisan test --watch
PHPUnit 9.5.2 by Sebastian Bergmann and contributors.
Could not use "NunoMaduroCollisionAdaptersPhpunitPrinter" as printer: class does not exist
Please create an issue on the collision repo.
Nevermind, cc @caneco
I think this is an escaping issue with the command line flag.
I'm pretty sure I know what's causing this, just going to do some tests.
So it's basically caused by the non-escaping of this line. But that works fine, and we can't double escape it in Collision otherwise it fails.
So, the backslashes aren't escaped due to the double process usage. Meaning it thinks that the namespace characters are escaped.
Is someone planning a fix for this issue? or I can check it out and try to fix it.
Same situation, anyone have any ideas?
Anyone solved this?