packagist orchestra/testbench v9.18.0

latest releases: v11.3.0, v10.12.0
2 hours ago

Changes

Testbench Changes

Added
  • Add Orchestra\Testbench\Foundation\Env::flushState() method and revert class deprecation.
  • Add Orchestra\Testbench\php_version_compare() function.
  • Allow --pretend options on relevant commands.
Changes
  • Loads Orchestra\Testbench\Attributes\WithConfig after application has been booted to allow merging configuration via Service Provider by default. Use defer: false parameter to disable this.
  • Overrides ServeCommand::trap() method to use TerminatingConsole.
  • Add TESTBENCH_USER_MODEL environment variable when running serve command.
  • Utilise Orchestra\Testbench\Foundation\Console\TerminatingConsole when running serve.
Fixes
  • Fix Orchestra\Testbench\Attributes\WithConfig shouldn't defer setting up framework configuration.
  • Fix missing --without-cache option when using package:test command with nunomaduro/collision version 8.9.4+.

Don't miss a new testbench release

NewReleases is sending notifications on new releases.