Skip to content

Commit 64f524d

Browse files
authored
[BUGFIX] Use the safe file_get_contents in quickdump.php (#1367)
1 parent 25877ed commit 64f524d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/quickdump.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33

44
declare(strict_types=1);
55

6+
use function Safe\file_get_contents;
7+
68
/**
79
* This script is used for generating the examples in the README.
810
*/
911

1012
require_once(__DIR__ . '/../vendor/autoload.php');
1113

12-
$sSource = \file_get_contents('php://stdin');
14+
$sSource = file_get_contents('php://stdin');
1315
$oParser = new Sabberworm\CSS\Parser($sSource);
1416

1517
$oDoc = $oParser->parse();

0 commit comments

Comments
 (0)