Skip to content

Commit

Permalink
Use realpath() as string on MissingInSetCommand (#5040)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 18, 2023
1 parent 2cf8d83 commit d10b3b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/Command/MissingInSetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ static function (string $rectorClass): bool {
$hasError = true;
$this->symfonyStyle->title('We could not find there rules in configs');

/** @var string|false $setRealpath */
$setRealpath = realpath($setFile);
$setRealpath = (string) $setRealpath;
$relativeFilePath = Strings::after($setRealpath, getcwd() . '/');

$this->symfonyStyle->writeln(' * ' . $relativeFilePath);
Expand Down

0 comments on commit d10b3b1

Please sign in to comment.