Skip to content

Update dependency dotkernel/dot-cli to v4 - #106

Open
renovate[bot] wants to merge 1 commit into
2.0from
renovate/dotkernel-dot-cli-4.x
Open

renovate[bot] wants to merge 1 commit into
2.0from
renovate/dotkernel-dot-cli-4.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-cli ^3.11.1 → ^4.0.0 age confidence

Release Notes

dotkernel/dot-cli

v4.0.0

Compare Source

Changed
  • Minimum PHP version is now 8.3. Supported versions: 8.3, 8.4, 8.5 and 8.6.
  • laminas/laminas-cli is required as ^1.16.0.
  • A command's lock now uses its resolved name, so aliases and abbreviations share one lock. Unknown commands are not locked.
  • Lock errors are written to the error output with quiet verbosity, so they are shown with -q (use --silent to hide them).
  • A missing or unwritable lock directory, or a lock file that cannot be opened, throws Dot\Cli\Exception\RuntimeException instead of a TypeError. When a lock file cannot be opened, the message includes the reason from the operating system, for example Permission denied.
  • FileLocker::getLockFilePath() throws Dot\Cli\Exception\RuntimeException when the directory or the command name is missing.
  • FileLocker::unlock() releases a held lock even after disable(), and does nothing when no lock is held.
  • The custom event dispatcher is read from the Laminas\Cli\SymfonyEventDispatcher service, the key laminas-cli uses, and must implement Symfony\Component\EventDispatcher\EventDispatcherInterface.
  • The factories throw Dot\Cli\Exception\InvalidConfigException (an Exception and a PSR-11 ContainerExceptionInterface) instead of Exception.
  • ApplicationFactory::__invoke() returns Dot\Cli\Application.
  • The MESSAGE_* constants are typed (public const string).
  • config/autoload/cli.global.php uses DemoCommand::DEFAULT_NAME as the key instead of DemoCommand::getDefaultName(), which Symfony Console 8 removed.
  • The #[AsCommand] attribute of DemoCommand reads its name from DemoCommand::DEFAULT_NAME. DemoCommand keeps configure() as a demo of extending a command.
  • Development tooling: PHPUnit 12 with strict failOn* flags, PHPStan level 8, GitHub Actions run PHP 8.3 to 8.6 with actions/checkout@v7, actions/cache@v6 and codecov/codecov-action@v7.
  • Documentation for 4.0 is available in docs/book/v4, including an upgrade guide from 3.x.
Added
  • Dot\Cli\Exception\ExceptionInterface, Dot\Cli\Exception\RuntimeException and Dot\Cli\Exception\InvalidConfigException.
  • ApplicationFactory::EVENT_DISPATCHER and ApplicationFactory::LEGACY_EVENT_DISPATCHER.
  • psr/container, symfony/console and symfony/event-dispatcher as direct requirements.
  • A conflict with symfony/event-dispatcher-contracts versions before 2.5.3 and from 3.0 to 3.4. In those versions, EventDispatcherInterface::dispatch() has an implicitly nullable parameter, which PHP 8.4 and newer report as deprecated.
  • Tests with a minimal PSR-11 container and a real temporary directory, covering lock contention, aliases, abbreviations, quiet output and the event dispatcher keys.
Deprecated
  • The Dot\Cli\Factory\SymfonyEventDispatcher service key. Use Laminas\Cli\SymfonyEventDispatcher. It will be removed in 5.0.
Removed
  • PHP 8.2 support.
  • laminas/laminas-servicemanager as a requirement. dot-cli only uses PSR-11; applications that use Laminas Service Manager require it themselves.
  • DemoCommand::$defaultName. Use DemoCommand::DEFAULT_NAME.
  • mikey179/vfsstream as a development requirement. Lock tests use a real temporary directory.
Fixed
  • A running command could be started again through one of its aliases or an abbreviation of its name.
  • A missing lock directory caused a TypeError in Application::doRun() and a second one in Application::__destruct().
  • FileLocker::unlock() caused a TypeError when called before lock() or twice.
  • When flock() failed without reporting contention, the command ran without a lock.
  • Calling FileLocker::lock() twice leaked a file handle and reported that a different process held the lock.
  • FileLocker::setDirPath(null) and FileLocker::getLockFilePath() without a command name caused a TypeError.
  • With -q, the lock error was not shown.
  • An event dispatcher registered under the laminas-cli key was ignored.
  • The shipped config/autoload/cli.global.php failed on Symfony Console 8.

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 (86d7888).

Additional details and impacted files
@@            Coverage Diff            @@
##                2.0     #106   +/-   ##
=========================================
  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 61 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
doctrine/collections 3.1.1 MIT
doctrine/dbal 4.6.0 MIT
doctrine/deprecations 1.2.0 MIT
doctrine/event-manager 2.1.1 MIT
doctrine/inflector 2.1.1 MIT
doctrine/instantiator 2.2.0 MIT
doctrine/lexer 3.0.3 MIT
doctrine/orm 3.8.0 MIT
doctrine/persistence 4.2.1 MIT
dotkernel/dot-cli 4.0.0 MIT
dotkernel/dot-dependency-injection 1.4.1 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/cache 3.0.0 MIT
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-deepclone v1.43.2 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/polyfill-php86 v1.43.0 MIT
symfony/redis-messenger v8.1.12 MIT
symfony/service-contracts v3.8.1 MIT
symfony/string v8.1.12 MIT
symfony/var-exporter v8.1.10 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