From 5df45b1a2a73a7cba8b137d953cb115e3af8414e Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 21 Aug 2025 20:18:07 +0200 Subject: [PATCH] [BUGFIX] Use the safe `file_get_contents` in `quickdump.php` --- bin/quickdump.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/quickdump.php b/bin/quickdump.php index c759d028a..f694fb943 100755 --- a/bin/quickdump.php +++ b/bin/quickdump.php @@ -3,13 +3,15 @@ declare(strict_types=1); +use function Safe\file_get_contents; + /** * This script is used for generating the examples in the README. */ require_once(__DIR__ . '/../vendor/autoload.php'); -$sSource = \file_get_contents('php://stdin'); +$sSource = file_get_contents('php://stdin'); $oParser = new Sabberworm\CSS\Parser($sSource); $oDoc = $oParser->parse();