mirror of
https://github.com/ivuorinen/branch-usage-checker.git
synced 2026-01-26 11:44:02 +00:00
chore(deps): Dependency update, codestyle fixes
This commit is contained in:
@@ -46,7 +46,7 @@ class CheckCommand extends Command
|
||||
$versions = collect($pkg->versions ?? [])
|
||||
->keys()
|
||||
// Filter actual versions out.
|
||||
->filter(fn($version) => \str_starts_with($version, 'dev-'))
|
||||
->filter(fn ($version) => \str_starts_with($version, 'dev-'))
|
||||
->sort();
|
||||
|
||||
$this->totalBranches = $versions->count();
|
||||
@@ -59,7 +59,7 @@ class CheckCommand extends Command
|
||||
);
|
||||
|
||||
$statistics = collect($versions)
|
||||
->mapWithKeys(fn($branch) => $this->getStatistics($branch))
|
||||
->mapWithKeys(fn ($branch) => $this->getStatistics($branch))
|
||||
->toArray();
|
||||
|
||||
$this->info('Downloaded statistics...');
|
||||
|
||||
Reference in New Issue
Block a user