Skip to content

Commit 6188f32

Browse files
committed
[TASK] Remove realpath resolution
1 parent 0a0f429 commit 6188f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Service/ServiceDefinitionFileException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ final class ServiceDefinitionFileException extends \InvalidArgumentException
77

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

1212
return new self($message);
1313
}
1414

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

1919
return new self($message);
2020
}

0 commit comments

Comments
 (0)