I recently upgraded our codebase to use Laravel 5.6 and I'm finding a weird issue where
phpunit will fail with the following error message:
PHP Fatal error: Cannot declare class Tests\Feature\CreateVisitorTest, because the name is already in use in /var/www/grow/tests/Feature/CreateVisitorTest.php on line 12
However if I were to specify the file specifically it works fine.
e.g., this command works and my test passes:
I've tried doing composer dump-autoload
Any other ideas?