Changes
- Update minimum support for Testbench Core v10.15.0+. (v10.11.0...v10.15.0)
Testbench Changes
Added
- Add
Orchestra\Testbench\Foundation\Env::flushState()method and revert class deprecation. - Add
Orchestra\Testbench\php_version_compare()function. - Allow
--pretendoptions on relevant commands.
Changes
- Loads
Orchestra\Testbench\Attributes\WithConfigafter application has been booted to allow merging configuration via Service Provider by default. Usedefer: falseparameter to disable this. - Removed no longer relevants
method_exists()andclass_exists()usage. - Overrides
ServeCommand::trap()method to useTerminatingConsole. - Add
TESTBENCH_USER_MODELenvironment variable when runningservecommand. - Utilise
Orchestra\Testbench\Foundation\Console\TerminatingConsolewhen runningserve.
Fixes
- Fix
Orchestra\Testbench\Attributes\WithConfigshouldn't defer setting up framework configuration. - Fix missing
--without-cacheoption when usingpackage:testcommand withnunomaduro/collisionversion8.9.4+.