You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Orchestra\Testbench\Concerns\CreatesApplication::getApplicationBasePath() method as replacement to Orchestra\Testbench\Concerns\CreatesApplication::getBasePath().
Update minimum support for Testbench Core v8.30.0+. (v8.29.0...v8.30.0)
Testbench Changes
Added
Added ability to detect Workbench namespace via Orchestra\Testbench\Workbench\Workbench::detectNamespace() method.
Added ability to detect the default user model via Orchestra\Testbench\Workbench\Workbench::applicationUserModel() method.
Added support for authentication routes within Workbench by configurating workbench.auth config to true.
Added new package:sync-skeleton command.
Changes
Testbench Dusk integration improvements:
Refactor Orchestra\Testbench\Bootstrap\LoadConfiguration and Orchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench to allow being extended by Testbench Dusk.
Refactor Orchestra\Testbench\Console\Commander.
Add multiple environment variables to Laravel 10 skeleton's configuration files based on changes made for Laravel 11.
Add $tty parameter to Orchestra\Testbench\remote() function.
Refactor Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink class and mark it as @api.
Add $backupExistingFile and $resetOnTerminating parameter to following methods in Orchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles trait:
copyTestbenchConfigurationFile()
copyTestbenchDotEnvFile()
Deprecated
Deprecate Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole trait, use Orchestra\Testbench\Foundation\Console\TerminatingConsole class instead.
Added defineStashRoutes() method to register adhoc route for test.
Changes
Improvements to Orchestra\Testbench\default_skeleton_path(), Orchestra\Testbench\package_path(), and Orchestra\Testbench\workbench_path() usage based on new Orchestra\Testbench\join_paths() function.
To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.
Generate unit testing code for this file.
Open a follow-up GitHub issue for this discussion.
Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
@coderabbitai generate unit testing code for this file.
@coderabbitai modularize this function.
PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
@coderabbitai generate interesting stats about this repository and render them as a table.
@coderabbitai show all the console.log statements in this repository.
@coderabbitai read src/utils.ts and generate unit testing code.
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pause to pause the reviews on a PR.
@coderabbitai resume to resume the paused reviews.
@coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
@coderabbitai resolve resolve all the CodeRabbit review comments.
@coderabbitai help to get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
Visit our Documentation for detailed information on how to use CodeRabbit.
Join our Discord Community to get help, request features, and share feedback.
Follow us on X/Twitter for updates and announcements.
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.23.0
chore(deps): update dependency orchestra/testbench to v8.23.1
Jun 1, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.23.1
chore(deps): update dependency orchestra/testbench to v8.23.2
Jun 4, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.23.2
chore(deps): update dependency orchestra/testbench to v8.24.0
Jul 13, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.24.0
chore(deps): update dependency orchestra/testbench to v8.25.0
Aug 14, 2024
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: composer.lock
Command failed: composer update orchestra/testbench:8.37.0 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency laravel/framework is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency phpunit/phpunit is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency phpstan/phpstan is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- ergebnis/composer-normalize is locked to version 2.42.0 and an update of this package was not requested.
- ergebnis/composer-normalize 2.42.0 requires php ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.5.4) does not satisfy that requirement.
Problem 2
- Root composer.json requires orchestra/testbench ^8.21 -> satisfiable by orchestra/testbench[v8.37.0].
- orchestra/testbench v8.37.0 requires laravel/framework ^10.50.0 -> found laravel/framework[v10.50.0, v10.50.1, 10.50.2] but the package is fixed to v10.48.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 3
- pestphp/pest is locked to version v2.34.7 and an update of this package was not requested.
- brianium/paratest v7.4.3 requires php ~8.2.0 || ~8.3.0 -> your php version (8.5.4) does not satisfy that requirement.
- pestphp/pest v2.34.7 requires brianium/paratest ^7.3.1 -> satisfiable by brianium/paratest[v7.4.3].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.25.0
chore(deps): update dependency orchestra/testbench to v8.26.0
Aug 26, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.26.0
chore(deps): update dependency orchestra/testbench to v8.27.0
Sep 24, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.27.0
chore(deps): update dependency orchestra/testbench to v8.27.1
Oct 5, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.27.1
chore(deps): update dependency orchestra/testbench to v8.27.2
Oct 6, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.27.2
chore(deps): update dependency orchestra/testbench to v8.28.0
Nov 19, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.28.0
chore(deps): update dependency orchestra/testbench to v8.29.0
Dec 1, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.29.0
chore(deps): update dependency orchestra/testbench to v8.30.0
Dec 16, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.30.0
chore(deps): update dependency orchestra/testbench to v8.31.0
Dec 26, 2024
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.31.0
chore(deps): update dependency orchestra/testbench to v8.32.0
Feb 15, 2025
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.32.0
chore(deps): update dependency orchestra/testbench to v8.33.0
Feb 19, 2025
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.33.0
chore(deps): update dependency orchestra/testbench to v8.34.0
Mar 6, 2025
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.34.0
chore(deps): update dependency orchestra/testbench to v8.35.0
Apr 6, 2025
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.35.0
chore(deps): update dependency orchestra/testbench to v8.35.1
Apr 27, 2025
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.35.1
chore(deps): update dependency orchestra/testbench to v8.36.0
May 12, 2025
renovatebot
changed the title
chore(deps): update dependency orchestra/testbench to v8.36.0
chore(deps): update dependency orchestra/testbench to v8.37.0
Jan 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.22.3→8.37.0Release Notes
orchestral/testbench (orchestra/testbench)
v8.37.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\package_version_compare()function.Orchestra\Testbench\Concerns\WithFixturesto automatically loads fixtures file for test.Changes
Orchestra\Foundation\Envnow extendsOrchestra\Sidekick\Env.Illuminate\Support\Strstates via during test teardown.Orchestra\Sidekick\package_path()for better root package path detection.v8.36.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\PHPUnit\TestCasenow implementsOrchestra\Testbench\Concerns\InteractsWithMockery.Fixes
v8.35.1Compare Source
Changes
Testbench Changes
Changes
Illuminate\Database\Eloquent\Modelstates between tests.v8.35.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remote()function to useOrchestra\Testbench\Foundation\Process\RemoteCommand.TESTBENCH_ENVIRONMENT_FILE_USINGtoTESTBENCH_ENVIRONMENT_FILE_USING(internal environment variable).workbench/bootstrap/providers.php.v8.34.0Compare Source
Changes
Testbench Changes
Added
resolvePhpUnitTestClassName()andresolvePhpUnitTestMethodName()toOrchestra\Testbench\Concerns\InteractsWithPHPUnittrait.Changes
usesTestingFeature()to register attribute directly on test method.vendordetection on the default skeleton.Orchestra\Sidekick\is_symlink()function instead ofis_link()to improves support on Windows.::classinstead ofget_class().vendorsymlink viapackage:purge-skeletoncommand.Fixes
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()method.v8.33.0Compare Source
Changes
Testbench Changes
Added
orchestra/sidekick.Illuminate\Foundation\Testing\Concerns\InteractsWithViews.Deprecated
getBasePath()method pending removal in Testbench 10.0.v8.32.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\CreatesApplication::resolveApplicationFacades()method.Orchestra\Testbench\Concerns\CreatesApplication::getApplicationBasePath()method as replacement toOrchestra\Testbench\Concerns\CreatesApplication::getBasePath().Orchestra\Testbench\Foundation\Application::deleteVendorSymlink()method.Changes
discover.factories.vendorsymlink when terminating Testbench CLI.v8.31.0Compare Source
Changes
Testbench Changes
Added
Changes
Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()to flush cached namespaces and classes during installation.realpath()onvendor:publishoutput.v8.30.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\transform_realpath_to_relative()function.vendor:publishcommand.Changes
$forceparameter toOrchestra\Testbench\Workbench\Workbench::detectNamespace()method.v8.29.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench::detectNamespace()method.Orchestra\Testbench\Workbench\Workbench::applicationUserModel()method.workbench.authconfig totrue.package:sync-skeletoncommand.Changes
Orchestra\Testbench\Bootstrap\LoadConfigurationandOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbenchto allow being extended by Testbench Dusk.Orchestra\Testbench\Console\Commander.$ttyparameter toOrchestra\Testbench\remote()function.Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlinkclass and mark it as@api.$backupExistingFileand$resetOnTerminatingparameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFilestrait:copyTestbenchConfigurationFile()copyTestbenchDotEnvFile()Deprecated
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsoletrait, useOrchestra\Testbench\Foundation\Console\TerminatingConsoleclass instead.v8.28.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlinkclass.Orchestra\Testbench\Concerns\InteractsWithMockerytrait.--databaseoption topackage:create-sqlite-dbcommand.--databaseand--alloptions topackage:drop-sqlite-dbcommand.Orchestra\Testbench\php_binary()function.laravel/serializable-closure2.Changes
resolveApplicationResolvingCallback()method visibility fromprivatetoprotected.package:create-sqlite-db.PHP_CLI_SERVER_WORKERSvia Composer Script.CTRL+CandCTRL+BREAKsupports on Windows withoutpcntlextension.Orchestra\Testbench\Foundation\Console\Actions\GeneratesFileshould be able to handle$fromand$towhen given asfalseornull.v8.27.2Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()exists and returnfalse.v8.27.1Compare Source
Changes
Testbench Changes
Changes
SIGHUP,SIGUSR1, andSIGUSR2signals via Testbench CLI.Fixes
servecommand to reset published.envandtestbench.yaml.v8.27.0Compare Source
Changes
Testbench Changes
Added
markTestSkippedWhen()andmarkTestSkippedUnless()assertion helper to conditionally handlemarkTestSkipped().Orchestra\Testbench\default_migration_path()helper function.Orchestra\Testbench\laravel_vendor_exists()helper function.Changes
vendorsymlink directory if it was created while running tests.Fixes
view.pathsconfiguration not being updated to includeworkbench/resources/viewsdue to IoC booting sequence.Deprecated
Orchestra\Testbench\laravel_migration_path(), usedefault_migration_path()instead.New Contributors
v8.26.0Compare Source
Changes
Testbench Changes
Added
artisanbinary to Laravel skeleton.Orchestra\Testbench\join_paths()function.Orchestra\Testbench\Attributes\UsesVendorattribute class.defineStashRoutes()method to register adhoc route for test.Changes
Orchestra\Testbench\default_skeleton_path(),Orchestra\Testbench\package_path(), andOrchestra\Testbench\workbench_path()usage based on newOrchestra\Testbench\join_paths()function.v8.25.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFileto remove.gitkeepfile when directory contain one or more files.Fixes
InteractsWithPublishedFilesshould only flush published files withindatabase/migrationsdirectory.v8.24.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravelOrchestra\Testbench\Attributes\UsesFrameworkConfigurationfactoriesusing Workbench to mapWorkbench\App\ModelstoWorkbench\Database\Factoriesclasses.workbench/app/Console/Commands.Changes
JsonSerializabletoOrchestra\Testbench\Foundation\UndefinedValue.workbenchas default environment value.Orchestra\Testbench\Attributes\DefineandOrchestra\Testbench\Attributes\DefineEnvironmentto be used on the class level by @danjohnson95Fixes
usesTestingFeature()attribute registration is loaded before class attributes instead of method attributes.v8.23.2Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()usage to detectWorkbench\App\Exceptions\Handlerclass.v8.23.1Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()function instead ofTESTBENCH_WORKING_PATHconstant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravelattribute usage.v8.23.0Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATHfrom environment variable before fallback togetcwd().Fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.