Repository navigation
Update dependency dotkernel/dot-cli to v4 - #594
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.9.0→^4.0.0Release Notes
dotkernel/dot-cli
v4.0.0Compare Source
Changed
laminas/laminas-cliis required as^1.16.0.-q(use--silentto hide them).Dot\Cli\Exception\RuntimeExceptioninstead of aTypeError. When a lock file cannot be opened, the message includes the reason from the operating system, for examplePermission denied.FileLocker::getLockFilePath()throwsDot\Cli\Exception\RuntimeExceptionwhen the directory or the command name is missing.FileLocker::unlock()releases a held lock even afterdisable(), and does nothing when no lock is held.Laminas\Cli\SymfonyEventDispatcherservice, the key laminas-cli uses, and must implementSymfony\Component\EventDispatcher\EventDispatcherInterface.Dot\Cli\Exception\InvalidConfigException(anExceptionand a PSR-11ContainerExceptionInterface) instead ofException.ApplicationFactory::__invoke()returnsDot\Cli\Application.MESSAGE_*constants are typed (public const string).config/autoload/cli.global.phpusesDemoCommand::DEFAULT_NAMEas the key instead ofDemoCommand::getDefaultName(), which Symfony Console 8 removed.#[AsCommand]attribute ofDemoCommandreads its name fromDemoCommand::DEFAULT_NAME.DemoCommandkeepsconfigure()as a demo of extending a command.failOn*flags, PHPStan level 8, GitHub Actions run PHP 8.3 to 8.6 withactions/checkout@v7,actions/cache@v6andcodecov/codecov-action@v7.docs/book/v4, including an upgrade guide from 3.x.Added
Dot\Cli\Exception\ExceptionInterface,Dot\Cli\Exception\RuntimeExceptionandDot\Cli\Exception\InvalidConfigException.ApplicationFactory::EVENT_DISPATCHERandApplicationFactory::LEGACY_EVENT_DISPATCHER.psr/container,symfony/consoleandsymfony/event-dispatcheras direct requirements.symfony/event-dispatcher-contractsversions 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.Deprecated
Dot\Cli\Factory\SymfonyEventDispatcherservice key. UseLaminas\Cli\SymfonyEventDispatcher. It will be removed in 5.0.Removed
laminas/laminas-servicemanageras a requirement. dot-cli only uses PSR-11; applications that use Laminas Service Manager require it themselves.DemoCommand::$defaultName. UseDemoCommand::DEFAULT_NAME.mikey179/vfsstreamas a development requirement. Lock tests use a real temporary directory.Fixed
TypeErrorinApplication::doRun()and a second one inApplication::__destruct().FileLocker::unlock()caused aTypeErrorwhen called beforelock()or twice.flock()failed without reporting contention, the command ran without a lock.FileLocker::lock()twice leaked a file handle and reported that a different process held the lock.FileLocker::setDirPath(null)andFileLocker::getLockFilePath()without a command name caused aTypeError.-q, the lock error was not shown.config/autoload/cli.global.phpfailed on Symfony Console 8.Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.