From 03977593e719a17b101ec733cf1272254538230d Mon Sep 17 00:00:00 2001 From: Julian Finkler Date: Wed, 2 Nov 2022 01:04:16 +0100 Subject: [PATCH] SCA fixed --- src/Filesystem/FileHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Filesystem/FileHandler.php b/src/Filesystem/FileHandler.php index 8c708c6..45ed561 100644 --- a/src/Filesystem/FileHandler.php +++ b/src/Filesystem/FileHandler.php @@ -40,9 +40,9 @@ public function read(string $filename): ?string } $content = file_get_contents($filename); -// if ($content === false) { -// throw new \RuntimeException('Error while reading the file.'); -// } + if ($content === false) { + throw new \RuntimeException('Error while reading the file.'); + } return $content; }