Code Duplication    Length = 6-6 lines in 2 locations

src/voku/helper/HtmlMin.php 2 locations

@@ 1500-1505 (lines=6) @@
1497
     */
1498
    private function isConditionalComment($comment): bool
1499
    {
1500
        if (\strpos($comment, '[if ') !== false) {
1501
            /** @noinspection RegExpRedundantEscape */
1502
            /** @noinspection NestedPositiveIfStatementsInspection */
1503
            if (\preg_match('/^\[if [^\]]+\]/', $comment)) {
1504
                return true;
1505
            }
1506
        }
1507
1508
        if (\strpos($comment, '[endif]') !== false) {
@@ 1508-1513 (lines=6) @@
1505
            }
1506
        }
1507
1508
        if (\strpos($comment, '[endif]') !== false) {
1509
            /** @noinspection RegExpRedundantEscape */
1510
            /** @noinspection NestedPositiveIfStatementsInspection */
1511
            if (\preg_match('/\[endif\]$/', $comment)) {
1512
                return true;
1513
            }
1514
        }
1515
1516
        return false;