<div dir="ltr"><div>I'm trying to fix the build script so I can release phpMyAdmin 5.1.0, but I've hit a strange issue with Composer and the cache warmup.</div><div><br></div><div>I've manually defined all the "dev" packages as required, so that whether I run "composer update" or "composer update --no-dev" there are no changes to the installed packages.</div><div><br></div><div># composer update --no-dev<br></div><div># ./scripts/console cache:warmup --routing<br>PHP Fatal error:  Uncaught Error: Class 'PhpMyAdmin\Tests\Stubs\DbiDummy' not found in /var/www/pma-dev/fork/release/phpMyAdmin-5.1.0-rc1/scripts/console:41<br>Stack trace:<br>#0 {main}<br>  thrown in /var/www/pma-dev/fork/release/phpMyAdmin-5.1.0-rc1/scripts/console on line 41</div><div><br></div><div>But <br></div><div># composer update</div><div># ./scripts/console cache:warmup --routing</div><div><br></div><div>runs correctly...</div><div><br></div><div>Any thoughts about this? I'd like to build the release without requiring all of the dev packages, but if I can't warm up the cache as part of the build, on first run phpMyAdmin throws an error message because ./cache/ isn't writable by the webserver process.</div><div><br></div><div>Any thoughts about this?<br></div></div>