Skip to content

chore(deps): update dependency orchestra/testbench to v10 #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
orchestra/testbench (source) ^9.14 -> ^10.0 age adoption passing confidence

Release Notes

orchestral/testbench (orchestra/testbench)

v10.3.0

Compare Source

Changes
Testbench Changes
Changes
  • Requires Laravel Framework 12.8.0 and above.
  • Orchestra\Testbench\PHPUnit\TestCase now implements Orchestra\Testbench\Concerns\InteractsWithMockery.
  • Flush Illuminate\Database\Eloquent\Model::automaticallyEagerLoadRelationships() state between tests if the method exists.
Fixes
  • Fix handling deprecations logging when logger is not not available when running tests.

v10.2.2

Compare Source

Changes
Testbench Changes
Changes
  • Flush Illuminate\Database\Eloquent\Model states between tests.

v10.2.1

Compare Source

Changes
Testbench Changes
Changes
  • Remove symfony/polyfill-php84.

v10.2.0

Compare Source

Changes
Testbench Changes
Added
  • Add ability to pass Closure to Orchestra\Testbench\remote() function.
Changes
  • Add support for PHPUnit 12.1.
  • Refactor Orchestra\Testbench\remote() function to use Orchestra\Testbench\Foundation\Process\RemoteCommand.
  • Rename TESTBENCH_ENVIRONMENT_FILE_USING to TESTBENCH_ENVIRONMENT_FILE_USING (internal environment variable).

v10.1.0

Compare Source

Changes
Testbench Changes
Added
  • Added resolvePhpUnitTestClassName() and resolvePhpUnitTestMethodName() to Orchestra\Testbench\Concerns\InteractsWithPHPUnit trait.
Changes
  • Allows usesTestingFeature() to register attribute directly on test method.
  • Improves vendor detection on the default skeleton.
  • Utilise Orchestra\Sidekick\is_symlink() function instead of is_link() to improves support on Windows.
  • Use ::class instead of get_class().
  • Delete vendor symlink via package:purge-skeleton command.
Fixes
  • Fix static variable via Orchestra\Testbench\Attributes\UsesVendor::beforeEach() method.
Deprecate
  • Deprecate following PHPUnit annotations:
    • @environment-setup
    • @define-env
    • @define-database
    • @define-route

v10.0.0

Compare Source

Changes
  • Update support for Laravel Framework v12.
  • Update Orchestra\Testbench\TestCase to use Illuminate\Foundation\Testing\Concerns\InteractsWithViews trait.
Removed
  • Remove deprecated functions:
    • Orchestra\Testbench\once()
    • Orchestra\Testbench\transform_relative_path()
  • Remove deprecated methods in Orchestra\Testbench\Concerns\CreatesApplication trait:
    • getBasePath()
    • getDefaultApplicationBootstrapFile()
  • Remove deprecated methods in Orchestra\Testbench\Concerns\InteractsWithMigrations trait:
    • loadMigrationsWithoutRollbackFrom()
    • loadLaravelMigrationsWithoutRollback()
    • runLaravelMigrationsWithoutRollback()

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) May 19, 2025 04:00
@renovate renovate bot requested a review from lotyp as a code owner May 19, 2025 04:00
Copy link
Contributor Author

renovate bot commented May 19, 2025

⚠️ Artifact update problem

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:10.3.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 symfony/yaml 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 laravel/framework (via replace of illuminate/console) 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 laravel/framework (via replace of illuminate/contracts) 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 laravel/framework (via replace of illuminate/log) 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 laravel/framework (via replace of illuminate/process) 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 laravel/framework (via replace of illuminate/support) 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 laravel/framework (via replace of illuminate/database) 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 laravel/framework (via replace of illuminate/filesystem) 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
    - Root composer.json requires orchestra/testbench ^10.0 -> satisfiable by orchestra/testbench[v10.3.0].
    - orchestra/testbench v10.3.0 requires laravel/framework ^12.8.0 -> found laravel/framework[v12.8.0, ..., v12.15.0] but the package is fixed to v11.44.7 (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.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/orchestra-testbench-10.x branch from 710ec82 to 3a78c70 Compare May 22, 2025 18:02
@renovate renovate bot force-pushed the renovate/orchestra-testbench-10.x branch from 3a78c70 to 71b6afb Compare May 23, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants