Code Duplication    Length = 6-6 lines in 2 locations

src/voku/helper/HtmlMin.php 2 locations

@@ 1367-1372 (lines=6) @@
1364
     */
1365
    private function isConditionalComment($comment): bool
1366
    {
1367
        if (\strpos($comment, '[if ') !== false) {
1368
            /** @noinspection RegExpRedundantEscape */
1369
            if (\preg_match('/^\[if [^\]]+\]/', $comment)) {
1370
                return true;
1371
            }
1372
        }
1373
1374
        if (\strpos($comment, '[endif]') !== false) {
1375
            /** @noinspection RegExpRedundantEscape */
@@ 1374-1379 (lines=6) @@
1371
            }
1372
        }
1373
1374
        if (\strpos($comment, '[endif]') !== false) {
1375
            /** @noinspection RegExpRedundantEscape */
1376
            if (\preg_match('/\[endif\]$/', $comment)) {
1377
                return true;
1378
            }
1379
        }
1380
1381
        return false;
1382
    }