From 6188f32ac85fa99556ed728c5251fa20c1f32963 Mon Sep 17 00:00:00 2001 From: Sebastian Schreiber Date: Wed, 7 Feb 2024 17:14:12 +0100 Subject: [PATCH] [TASK] Remove realpath resolution --- src/Service/ServiceDefinitionFileException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/ServiceDefinitionFileException.php b/src/Service/ServiceDefinitionFileException.php index 476a96c..77033e0 100644 --- a/src/Service/ServiceDefinitionFileException.php +++ b/src/Service/ServiceDefinitionFileException.php @@ -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); }