laminas / laminas-di

Automated dependency injection for PSR-11 containers
https://docs.laminas.dev/laminas-di/
BSD 3-Clause "New" or "Revised" License
36 stars 20 forks source link

Update dependency psr/container to v2 #89

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
psr/container ^1.1.1 -> ^1.1.1 \|\| ^2.0.0 age adoption passing confidence

Release Notes

php-fig/container (psr/container) ### [`v2.0.2`](https://togithub.com/php-fig/container/releases/tag/2.0.2) [Compare Source](https://togithub.com/php-fig/container/compare/2.0.1...2.0.2) ##### Added - This release reverts the removal of the previous patch, re-adding the extension of `Throwable` by `Psr\Container\ContainerExceptionInterface`; to avoid issues, PHP >= 7.4 is now required ### [`v2.0.1`](https://togithub.com/php-fig/container/releases/tag/2.0.1) [Compare Source](https://togithub.com/php-fig/container/compare/2.0.0...2.0.1) ##### Removed - This release removes the extension of `Throwable` by `Psr\Container\ContainerInterface`, as it leads to inheritance issues when child classes implement the `Throwable` interface in addition to `ContainerInterface` under PHP versions prior to 7.4. ### [`v2.0.0`](https://togithub.com/php-fig/container/releases/tag/2.0.0) [Compare Source](https://togithub.com/php-fig/container/compare/1.1.2...2.0.0) ##### Changed - This release adds the `bool` return typehint to `Psr\Container\ContainerInterface::has()`, in accordance with the [PSR-11 type additions errata](https://togithub.com/php-fig/fig-standards/pull/1215).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



Read more information about the use of Renovate Bot within Laminas.

renovate[bot] commented 10 months ago

⚠ 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:

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update psr/container:2.0.2 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires psr/container ^1.1.1 || ^2.0.0, found psr/container[1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.0.2] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - laminas/laminas-servicemanager is locked to version 3.22.0 and an update of this package was not requested.
    - laminas/laminas-servicemanager 3.22.0 requires psr/container ^1.0 -> found psr/container[1.0.0, 1.1.0, 1.1.1, 1.1.2] but it conflicts with your temporary update constraint (psr/container:2.0.2).
  Problem 3
    - phpbench/container 2.2.1 requires psr/container ^1.0|^2.0 -> found psr/container[1.0.0, 1.1.0, 1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.0.2] but these were not loaded, likely because it conflicts with another require.
    - phpbench/phpbench 1.2.14 requires phpbench/container ^2.1 -> satisfiable by phpbench/container[2.2.1].
    - phpbench/phpbench is locked to version 1.2.14 and an update of this package was not requested.

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