Skip to content

Commit

Permalink
[TASK] Remove realpath resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon committed Feb 7, 2024
1 parent 0a0f429 commit 6188f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/ServiceDefinitionFileException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ final class ServiceDefinitionFileException extends \InvalidArgumentException

public static function notFound(string $file): self
{
$message = sprintf('File "%s" does not exist', realpath($file));
$message = sprintf('File "%s" does not exist', $file);

return new self($message);
}

public static function parseError(string $file): self
{
$message = sprintf('File "%s" could not be parsed correctly', realpath($file));
$message = sprintf('File "%s" could not be parsed correctly', $file);

return new self($message);
}
Expand Down

0 comments on commit 6188f32

Please sign in to comment.