Skip to content

Update dependency dotkernel/dot-dependency-injection to v2 - #107

Open
renovate[bot] wants to merge 1 commit into
2.0from
renovate/dotkernel-dot-dependency-injection-2.x
Open

renovate[bot] wants to merge 1 commit into
2.0from
renovate/dotkernel-dot-dependency-injection-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dotkernel/dot-dependency-injection ^1.2 → ^2.0 age confidence

Release Notes

dotkernel/dot-dependency-injection

v2.0.0

Compare Source

Added
  • PHP 8.6 support
  • RuntimeException::notInstantiable(), dependencyNotInstantiable(), argumentCountMismatch(), invalidService() and missingPackage()
  • InvalidArgumentException::emptySegment()
  • Documentation for version 2, including an upgrade guide
Changed
  • doctrine/orm moved from require to suggest; applications using AttributedRepositoryFactory must require it, and versions below 2.9 or from 4.0 conflict
  • psr/container requirement raised to ^1.1 || ^2.0
  • AttributedServiceFactory::readKeysFromArray() takes the full service key as its third parameter
  • PHPUnit 12.5 and PHPStan level 8; the test suite fails on notices, warnings, deprecations and risky tests
Deprecated
  • Nothing.
Removed
  • AttributedServiceFactory::$originalKey
Fixed
  • Requesting an abstract class, an enum or a class with a non-public constructor throws RuntimeException instead of a PHP Error
  • An unregistered dependency that cannot be instantiated without arguments throws RuntimeException instead of ArgumentCountError or Error
  • The number of #[Inject] entries is checked against the constructor; extra entries were silently ignored
  • Empty dot-notation segments throw InvalidArgumentException instead of reading the '' key
  • AttributedRepositoryFactory checks the type of the entity manager service
  • AttributedRepositoryFactory names the missing package when doctrine/orm is not installed

Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, 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.

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.95%. Comparing base (ab1d751) to head (f9e72f8).

Additional details and impacted files
@@            Coverage Diff            @@
##                2.0     #107   +/-   ##
=========================================
  Coverage     95.95%   95.95%           
  Complexity      117      117           
=========================================
  Files            17       17           
  Lines           371      371           
=========================================
  Hits            356      356           
  Misses           15       15           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Qodana for PHP

It seems all right 👌

No new problems were found according to the checks applied

☁️ View the detailed Qodana report

Detected 48 dependencies

Third-party software list

This page lists the third-party software dependencies used in project

Dependency Version Licenses
brick/varexporter 0.7.0 MIT
dotkernel/dot-cli 3.11.1 MIT
dotkernel/dot-dependency-injection 2.0.0 MIT
dotkernel/dot-errorhandler 5.0.0 MIT
dotkernel/dot-log 5.3.1 MIT
fig/http-message-util 1.1.5 MIT
gsteel/dot 1.9.0 MIT
laminas/laminas-cli 1.16.0 BSD-3-Clause
laminas/laminas-component-installer 3.9.0 BSD-3-Clause
laminas/laminas-config-aggregator 1.21.0 BSD-3-Clause
laminas/laminas-diactoros 3.10.0 BSD-3-Clause
laminas/laminas-escaper 2.19.0 BSD-3-Clause
laminas/laminas-httphandlerrunner 2.15.0 BSD-3-Clause
laminas/laminas-servicemanager 4.6.0 BSD-3-Clause
laminas/laminas-stdlib 3.22.0 BSD-3-Clause
laminas/laminas-stratigility 4.4.0 BSD-3-Clause
laminas/laminas-translator 2.1.0 BSD-3-Clause
laminas/laminas-validator 3.21.0 BSD-3-Clause
mezzio/mezzio-router 4.3.0 BSD-3-Clause
mezzio/mezzio-template 3.1.0 BSD-3-Clause
mezzio/mezzio 3.29.0 BSD-3-Clause
netglue/laminas-messenger 2.5.0 MIT
nikic/php-parser v5.9.0 BSD-3-Clause
psr/clock 1.0.0 MIT
psr/container 2.0.2 MIT
psr/event-dispatcher 1.0.0 MIT
psr/http-client 1.0.3 MIT
psr/http-factory 1.1.0 MIT
psr/http-message 2.0 MIT
psr/http-server-handler 1.0.2 MIT
psr/http-server-middleware 1.0.2 MIT
psr/log 3.0.2 MIT
symfony/clock v8.1.9 MIT
symfony/console v8.1.12 MIT
symfony/deprecation-contracts v3.8.1 MIT
symfony/event-dispatcher-contracts v3.8.1 MIT
symfony/event-dispatcher v8.1.5 MIT
symfony/messenger v8.1.12 MIT
symfony/polyfill-ctype v1.37.0 MIT
symfony/polyfill-intl-grapheme v1.43.3 MIT
symfony/polyfill-intl-normalizer v1.43.0 MIT
symfony/polyfill-mbstring v1.43.3 MIT
symfony/polyfill-php85 v1.44.0 MIT
symfony/redis-messenger v8.1.12 MIT
symfony/service-contracts v3.8.1 MIT
symfony/string v8.1.12 MIT
webimpress/safe-writer 2.2.0 BSD-2-Clause
webmozart/assert 2.5.1 MIT
Contact Qodana team

Contact us at qodana-support@jetbrains.com

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