Open brandonkelly opened 4 years ago
If you run this:
$minifier = new \tubalmartin\CssMin\Minifier(); $minifier->run('#id {');
Then Minifier::processRuleBodies() will get itself into an infinite while-loop, because it does not consider that $blockEndPos may be false.
Minifier::processRuleBodies()
$blockEndPos
false
Expected behavior is that an exception should be thrown.
If you run this:
Then
Minifier::processRuleBodies()
will get itself into an infinite while-loop, because it does not consider that$blockEndPos
may befalse
.Expected behavior is that an exception should be thrown.