Hey guys, I'm having the same problem with Laravel 6, PackageManifest bootstrap/cache ..., where Laravel 5.8 works fine. I'm using laradock with Phpstorm and I noticed that the phpunit.xml file of 5.8 differs from 6.0. I found that 6.0 included new elements inside its <phpunit><php></php></phpunit> tag
Laravel 5.8
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false">
# irrelevant code
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
</php>
</phpunit>
Laravel 6
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false">
# irrelevant code ...
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="APP_CONFIG_CACHE" value="bootstrap/cache/config.phpunit.php"/>
<server name="APP_SERVICES_CACHE" value="bootstrap/cache/services.phpunit.php"/>
<server name="APP_PACKAGES_CACHE" value="bootstrap/cache/packages.phpunit.php"/>
<server name="APP_ROUTES_CACHE" value="bootstrap/cache/routes.phpunit.php"/>
<server name="APP_EVENTS_CACHE" value="bootstrap/cache/events.phpunit.php"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
</php>
</phpunit>
A temporary workaround I found is commenting out the APP_* server names:
<!-- <server name="APP_CONFIG_CACHE" value="bootstrap/cache/config.phpunit.php"/>-->
<!-- <server name="APP_SERVICES_CACHE" value="bootstrap/cache/services.phpunit.php"/>-->
<!-- <server name="APP_PACKAGES_CACHE" value="bootstrap/cache/packages.phpunit.php"/>-->
<!-- <server name="APP_ROUTES_CACHE" value="bootstrap/cache/routes.phpunit.php"/>-->
<!-- <server name="APP_EVENTS_CACHE" value="bootstrap/cache/events.phpunit.php"/>-->
I'm not really sure what is affected by commenting this out. If anyone can explain what these files are for and how to generate them (since they seem to be missing in the bootstrap/cache folder) or how to properly use them it would be greatly appreciated.