Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create install command #4

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Fix PHPCS warning
  • Loading branch information
bennothommo committed Mar 9, 2021
commit 5ed7132502de2eca7644765fc3875d20bf37e8c3
4 changes: 2 additions & 2 deletions src/Filesystem/PathResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public static function resolve($path)
$drive = array_shift($resolvedSegments) ?: null;
continue;
} elseif (is_file($currentPath) && $i < (count($pathSegments) - 1)) {
// If we've hit a file and we're trying to relatively traverse the path further, we need to fail at this
// point.
// If we've hit a file and we're trying to relatively traverse the path further, we need to fail
// at this point.
return false;
}
} catch (Throwable $e) {
Expand Down