Skip to content

Commit

Permalink
uses nette/utils 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 27, 2023
1 parent 063501e commit 2c00f90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions composer.json
Expand Up @@ -13,8 +13,7 @@
"require": {
"php": ">= 8.0",
"nette/command-line": "^2.0",
"nette/utils": "^3.0",
"nette/finder": "^2.5",
"nette/utils": "^4.0",
"nette/neon": "^3.0",
"latte/latte": "^3.0.1",
"nette/forms": "^3.0",
Expand Down
4 changes: 1 addition & 3 deletions src/Checker.php
Expand Up @@ -65,9 +65,7 @@ public function run($paths): bool
if ($this->showProgress) {
echo str_pad(str_repeat('.', $counter++ % 40), 40), "\x0D";
}
$this->relativePath = is_string($file)
? $file
: $iterator->getSubPathName();
$this->relativePath = $file->getRelativePathname();
$success = $this->processFile((string) $file) && $success;
}

Expand Down

0 comments on commit 2c00f90

Please sign in to comment.