Skip to content

Commit 1e3c2a0

Browse files
authored
[CLEANUP] Avoid Hungarian notation in quickdump.php (#1369)
1 parent 276dd01 commit 1e3c2a0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

bin/quickdump.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
declare(strict_types=1);
55

6+
use Sabberworm\CSS\Parser;
7+
68
use function Safe\file_get_contents;
79

810
/**
@@ -11,17 +13,17 @@
1113

1214
require_once(__DIR__ . '/../vendor/autoload.php');
1315

14-
$sSource = file_get_contents('php://stdin');
15-
$oParser = new Sabberworm\CSS\Parser($sSource);
16+
$source = file_get_contents('php://stdin');
17+
$parser = new Parser($source);
1618

17-
$oDoc = $oParser->parse();
19+
$document = $parser->parse();
1820
echo "\n" . '#### Input' . "\n\n```css\n";
19-
print $sSource;
21+
print $source;
2022

2123
echo "\n```\n\n" . '#### Structure (`var_dump()`)' . "\n\n```php\n";
22-
\var_dump($oDoc);
24+
\var_dump($document);
2325

2426
echo "\n```\n\n" . '#### Output (`render()`)' . "\n\n```css\n";
25-
print $oDoc->render();
27+
print $document->render();
2628

2729
echo "\n```\n";

0 commit comments

Comments
 (0)