Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 12, 2024
1 parent 6a91ff1 commit 50af32c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,25 @@
],
"require": {
"php": "^8.2",
"symfony/console": "^6.3",
"symfony/finder": "^6.3",
"illuminate/container": "^10.43",
"symfony/console": "^6.4",
"symfony/finder": "^6.4",
"illuminate/container": "^11.0",
"webmozart/assert": "^1.11",
"nikic/php-parser": "^4.18",
"sebastian/lines-of-code": "^2.0",
"nunomaduro/termwind": "^1.15"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"rector/rector": "^0.19.5",
"rector/rector": "^1.1",
"phpstan/phpstan": "^1.10.57",
"symplify/easy-coding-standard": "^12.1",
"tracy/tracy": "^2.10",
"tomasvotruba/class-leak": "^0.2",
"phpstan/extension-installer": "^1.3",
"phpstan/extension-installer": "^1.4",
"symplify/vendor-patches": "^11.3",
"symplify/phpstan-rules": "^12.4"
"symplify/phpstan-rules": "^13.0",
"rector/type-perfect": "^0.1.8"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 3 additions & 3 deletions src/Console/Command/MeasureCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}

$progressBarClosure = $this->createProgressBarClosure($isJson, $filePaths);
$measurement = $this->analyser->measureFiles($filePaths, $progressBarClosure);
$measurements = $this->analyser->measureFiles($filePaths, $progressBarClosure);

// print results
if ($isJson) {
$this->jsonOutputFormatter->printMeasurement($measurement, $isShort, $showLongestFiles);
$this->jsonOutputFormatter->printMeasurement($measurements, $isShort, $showLongestFiles);
} else {
$this->textOutputFormatter->printMeasurement($measurement, $isShort, $showLongestFiles);
$this->textOutputFormatter->printMeasurement($measurements, $isShort, $showLongestFiles);
}

return Command::SUCCESS;
Expand Down

0 comments on commit 50af32c

Please sign in to comment.