Skip to content

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

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

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

Conversation

@renovate

@renovate renovate Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dotkernel/dot-cli ^3.9.0 → ^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 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.64%. Comparing base (7efac04) to head (d9387ee).

Additional details and impacted files
@@            Coverage Diff            @@
##                7.0     #594   +/-   ##
=========================================
  Coverage     64.64%   64.64%           
  Complexity     1003     1003           
=========================================
  Files           181      181           
  Lines          3437     3437           
=========================================
  Hits           2222     2222           
  Misses         1215     1215           

☔ 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 27, 2026 •

Copy link
Copy Markdown

Qodana for PHP

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Detected 110 dependencies

Third-party software list

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

Dependency Version Licenses
brick/math 1.0.0 MIT
brick/varexporter 0.7.0 MIT
defuse/php-encryption v2.4.0 MIT
doctrine/collections 2.6.0 MIT
doctrine/common 3.5.0 MIT
doctrine/data-fixtures 2.2.2 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.0.0 MIT
doctrine/lexer 3.0.3 MIT
doctrine/migrations 3.10.0 MIT
doctrine/orm 3.8.0 MIT
doctrine/persistence 4.2.1 MIT
dotkernel/dot-cache 4.4.0 MIT
dotkernel/dot-cli 4.0.0 MIT
dotkernel/dot-data-fixtures 1.5.0 MIT
dotkernel/dot-dependency-injection 1.4.1 MIT
dotkernel/dot-errorhandler 4.0.2 MIT
dotkernel/dot-event 4.4.0 MIT
dotkernel/dot-log 4.0.6 MIT
dotkernel/dot-mail 5.4.3 MIT
dotkernel/dot-response-header 3.6.0 MIT
dotkernel/dot-router 1.1.0 MIT
egulias/email-validator 4.0.5 MIT
fig/http-message-util 1.1.5 MIT
laminas/laminas-authentication 2.20.0 BSD-3-Clause
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-eventmanager 3.16.0 BSD-3-Clause
laminas/laminas-filter 2.43.0 BSD-3-Clause
laminas/laminas-httphandlerrunner 2.15.0 BSD-3-Clause
laminas/laminas-hydrator 4.19.0 BSD-3-Clause
laminas/laminas-inputfilter 2.36.0 BSD-3-Clause
laminas/laminas-permissions-acl 2.19.0 BSD-3-Clause
laminas/laminas-permissions-rbac 3.9.0 BSD-3-Clause
laminas/laminas-servicemanager 3.25.0 BSD-3-Clause
laminas/laminas-stdlib 3.22.0 BSD-3-Clause
laminas/laminas-stratigility 4.4.0 BSD-3-Clause
laminas/laminas-validator 2.65.0 BSD-3-Clause
lcobucci/jwt 5.6.2 BSD-3-Clause
league/event 3.0.3 MIT
league/oauth2-server 9.5.0 MIT
league/uri-interfaces 7.10.0 MIT
league/uri 7.10.0 MIT
mezzio/mezzio-authentication-oauth2 3.2.0 BSD-3-Clause
mezzio/mezzio-authentication 1.14.0 BSD-3-Clause
mezzio/mezzio-authorization-acl 1.14.0 BSD-3-Clause
mezzio/mezzio-authorization-rbac 1.11.0 BSD-3-Clause
mezzio/mezzio-authorization 1.12.0 BSD-3-Clause
mezzio/mezzio-cors 1.17.0 BSD-3-Clause
mezzio/mezzio-fastroute 3.15.0 BSD-3-Clause
mezzio/mezzio-hal 2.15.0 BSD-3-Clause
mezzio/mezzio-helpers 5.21.0 BSD-3-Clause
mezzio/mezzio-problem-details 1.20.0 BSD-3-Clause
mezzio/mezzio-router 3.20.0 BSD-3-Clause
mezzio/mezzio-template 3.1.0 BSD-3-Clause
mezzio/mezzio 3.29.0 BSD-3-Clause
nikic/fast-route 1.3.1 BSD-3-Clause
nikic/php-parser v5.9.0 BSD-3-Clause
paragonie/random_compat v9.99.100 MIT
phpstan/phpdoc-parser 2.4.2 MIT
psr/cache 3.0.0 MIT
psr/clock 1.0.0 MIT
psr/container 1.1.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/link 1.1.1 MIT
psr/log 3.0.2 MIT
radebatz/type-info-extras 1.0.16 MIT
ramsey/collection 2.1.1 MIT
ramsey/uuid-doctrine 2.1.0 MIT
ramsey/uuid 4.10.0 MIT
roave/psr-container-doctrine 6.0.0 BSD-2-Clause
spatie/array-to-xml 3.4.4 MIT
symfony/cache-contracts v3.8.1 MIT
symfony/cache v7.4.24 MIT
symfony/console v7.4.24 MIT
symfony/deprecation-contracts v3.8.1 MIT
symfony/event-dispatcher-contracts v3.8.1 MIT
symfony/event-dispatcher v7.4.17 MIT
symfony/filesystem v7.4.24 MIT
symfony/finder v7.4.24 MIT
symfony/mailer v7.4.24 MIT
symfony/mime v7.4.24 MIT
symfony/polyfill-ctype v1.37.0 MIT
symfony/polyfill-intl-grapheme v1.43.3 MIT
symfony/polyfill-intl-idn v1.43.0 MIT
symfony/polyfill-intl-normalizer v1.43.0 MIT
symfony/polyfill-mbstring v1.43.3 MIT
symfony/polyfill-php84 v1.43.0 MIT
symfony/polyfill-php86 v1.43.0 MIT
symfony/service-contracts v3.8.1 MIT
symfony/stopwatch v7.4.24 MIT
symfony/string v7.4.24 MIT
symfony/type-info v7.4.24 MIT
symfony/var-exporter v7.4.22 MIT
symfony/yaml v7.4.24 MIT
webimpress/safe-writer 2.2.0 BSD-2-Clause
webmozart/assert 2.5.1 MIT
willdurand/negotiation 3.1.0 MIT
zircote/swagger-php 6.20.4 Apache-2.0
Contact Qodana team

Contact us at qodana-support@jetbrains.com

This branch has not been deployed

No deployments
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