we are using bamarni/composer-bin-plugin to install phpunit in vendor-bin/phpunit
phpunit has custom bootstrap
<?php
declare(strict_types=1);
use App\Helpers\MoneyHelper;
require dirname(__DIR__).'/vendor/autoload.php';
\bcscale(MoneyHelper::PRICE_SCALE_GLOBAL);
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
require dirname(__DIR__).'/config/bootstrap.php';
}
getting following error:
Could not load class 'ReadyToShipItemsTest' -> ' Roave\BetterReflection\Reflection\ReflectionClass "App\Tests\E2E\AbstractTestCase" could not be found in the located source
because custom bootstrap is not loaded thus does not load "application" autoloader.
we are using
bamarni/composer-bin-pluginto install phpunit in vendor-bin/phpunitphpunit has custom bootstrap
getting following error:
because custom bootstrap is not loaded thus does not load "application" autoloader.