Code Duplication    Length = 6-6 lines in 2 locations

src/voku/helper/HtmlMin.php 2 locations

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