Skip to content

chore(deps): update dependency orchestra/testbench to v8.35.1 #213

New issue

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

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

Already on GitHub? # 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 Jul 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
orchestra/testbench (source) 8.23.2 -> 8.35.1 age adoption passing confidence

Release Notes

orchestral/testbench (orchestra/testbench)

v8.35.1

Compare Source

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

v8.35.0

Compare Source

Changes
Testbench Changes
Changes
  • 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).
  • Add support for workbench/bootstrap/providers.php.

v8.34.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.

v8.33.0

Compare Source

Changes
Testbench Changes
Added
  • Use orchestra/sidekick.
  • Implements Illuminate\Foundation\Testing\Concerns\InteractsWithViews.
Deprecated
  • Re-add deprecated getBasePath() method pending removal in Testbench 10.0.

v8.32.0

Compare Source

Changes
Testbench Changes
Added
  • Add Orchestra\Testbench\Concerns\CreatesApplication::resolveApplicationFacades() method.
  • Add Orchestra\Testbench\Concerns\CreatesApplication::getApplicationBasePath() method as replacement to Orchestra\Testbench\Concerns\CreatesApplication::getBasePath().
  • Add Orchestra\Testbench\Foundation\Application::deleteVendorSymlink() method.
Changes
  • Dynamically resolve workbench namespace for discover.factories.
  • Clear vendor symlink when terminating Testbench CLI.

v8.31.0

Compare Source

Changes
Testbench Changes
Added
  • Add ability to symlink directory in from skeleton to package.
Changes
  • Add Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces() to flush cached namespaces and classes during installation.
  • Use realpath() on vendor:publish output.

v8.30.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\transform_realpath_to_relative() function.
  • Override Laravel's vendor:publish command.
Changes
  • Add $force parameter to Orchestra\Testbench\Workbench\Workbench::detectNamespace() method.

v8.29.0

Compare Source

Changes
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.

v8.28.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink class.
  • Added Orchestra\Testbench\Concerns\InteractsWithMockery trait.
  • Added --database option to package:create-sqlite-db command.
  • Added --database and --all options to package:drop-sqlite-db command.
  • Added Orchestra\Testbench\php_binary() function.
  • Allows laravel/serializable-closure 2.
Changes
  • Change resolveApplicationResolvingCallback() method visibility from private to protected.
  • Ensure database directory exists when running package:create-sqlite-db.
  • Allow configuring PHP_CLI_SERVER_WORKERS via Composer Script.
  • Improves CTRL+C and CTRL+BREAK supports on Windows without pcntl extension.
  • Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile should be able to handle $from and $to when given as false or null.

v8.27.2

Compare Source

Changes
Testbench Changes
Fixes
  • Prevent seeder from being executed when shouldSeed() exists and return false.

v8.27.1

Compare Source

Changes
Testbench Changes
Changes
  • Listen to SIGHUP, SIGUSR1, and SIGUSR2 signals via Testbench CLI.
Fixes
  • Fixes Testbench CLI signals via serve command to reset published .env and testbench.yaml.

v8.27.0

Compare Source

Changes
Testbench Changes
Added
  • Added markTestSkippedWhen() and markTestSkippedUnless() assertion helper to conditionally handle markTestSkipped().
  • Added Orchestra\Testbench\default_migration_path() helper function.
  • Added Orchestra\Testbench\laravel_vendor_exists() helper function.
  • Allows TestCase to inherit Attributes defined on parent TestCase by @​BlackLanzer in orchestral/testbench-core#233.
Changes
  • Allow Testbench to delete vendor symlink directory if it was created while running tests.
Fixes
  • Fixes view.paths configuration not being updated to include workbench/resources/views due to IoC booting sequence.
  • Fixes compatibility with PHPUnit 10.3.
Deprecated
  • Deprecated Orchestra\Testbench\laravel_migration_path(), use default_migration_path() instead.
New Contributors

v8.26.0

Compare Source

Changes
Testbench Changes
Added
  • Added artisan binary to Laravel skeleton.
  • Added Orchestra\Testbench\join_paths() function.
  • Added Orchestra\Testbench\Attributes\UsesVendor attribute class.
  • 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.

v8.25.0

Compare Source

Changes
Testbench Changes
Changes
  • Update Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile to remove .gitkeep file when directory contain one or more files.
  • Code Improvements.
Fixes
  • Fixes InteractsWithPublishedFiles should only flush published files within database/migrations directory.

v8.24.0

Compare Source

Changes
Testbench Changes
Added
  • Added new attributes:
    • Orchestra\Testbench\Attributes\ResolvesLaravel
    • Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
  • Allows to discover factories using Workbench to map Workbench\App\Models to Workbench\Database\Factories classes.
  • Allows to auto discover console command classes from workbench/app/Console/Commands.
Changes
  • Implements JsonSerializable to Orchestra\Testbench\Foundation\UndefinedValue.
  • Update skeleton to use workbench as default environment value.
  • Allow Orchestra\Testbench\Attributes\Define and Orchestra\Testbench\Attributes\DefineEnvironment to be used on the class level by @​danjohnson95
Fixes
  • Ensure usesTestingFeature() attribute registration is loaded before class attributes instead of method attributes.

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 (rebase) July 13, 2024 11:42
@renovate renovate bot 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
Copy link
Contributor Author

renovate bot commented Aug 14, 2024

⚠️ 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:8.35.1 --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 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/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/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/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/queue) 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.
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.4.6) does not satisfy that requirement.
  Problem 2
    - Root composer.json requires orchestra/testbench ^8.5 -> satisfiable by orchestra/testbench[v8.35.1].
    - orchestra/testbench v8.35.1 requires laravel/framework ^10.48.29 -> found laravel/framework[v10.48.29] but the package is fixed to v10.48.12 (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.8 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.4.6) does not satisfy that requirement.
    - pestphp/pest v2.34.8 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.

@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot changed the title chore(deps): update dependency orchestra/testbench to v8.27.2 chore(deps): update dependency orchestra/testbench to v8.27.2 - autoclosed Oct 21, 2024
@renovate renovate bot closed this Oct 21, 2024
auto-merge was automatically disabled October 21, 2024 04:11

Pull request was closed

@renovate renovate bot deleted the renovate/orchestra-testbench-8.x-lockfile branch October 21, 2024 04:11
@renovate renovate bot changed the title chore(deps): update dependency orchestra/testbench to v8.27.2 - autoclosed chore(deps): update dependency orchestra/testbench to v8.27.2 Oct 21, 2024
@renovate renovate bot reopened this Oct 21, 2024
@renovate renovate bot restored the renovate/orchestra-testbench-8.x-lockfile branch October 21, 2024 06:51
@renovate renovate bot enabled auto-merge (rebase) October 21, 2024 06:51
@renovate renovate bot changed the title chore(deps): update dependency orchestra/testbench to v8.27.2 chore(deps): update dependency orchestra/testbench to v8.27.2 - autoclosed Oct 28, 2024
@renovate renovate bot closed this Oct 28, 2024
auto-merge was automatically disabled October 28, 2024 20:19

Pull request was closed

@renovate renovate bot deleted the renovate/orchestra-testbench-8.x-lockfile branch October 28, 2024 20:19
@renovate renovate bot changed the title chore(deps): update dependency orchestra/testbench to v8.27.2 - autoclosed chore(deps): update dependency orchestra/testbench to v8.27.2 Oct 28, 2024
@renovate renovate bot reopened this Oct 28, 2024
@renovate renovate bot restored the renovate/orchestra-testbench-8.x-lockfile branch October 28, 2024 22:26
@renovate renovate bot enabled auto-merge (rebase) October 28, 2024 22:26
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
@renovate renovate bot 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants