Code Duplication    Length = 5-5 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

@@ 1888-1892 (lines=5) @@
1885
            }
1886
            $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color));
1887
1888
            if (isset($style->font->u) && !isset($style->font->u['val'])) {
1889
                $docStyle->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE);
1890
            } elseif (isset($style->font->u) && isset($style->font->u['val'])) {
1891
                $docStyle->getFont()->setUnderline((string) $style->font->u['val']);
1892
            }
1893
1894
            if (isset($style->font->vertAlign) && isset($style->font->vertAlign['val'])) {
1895
                $vertAlign = strtolower((string) $style->font->vertAlign['val']);
@@ 2044-2048 (lines=5) @@
2041
                                $objText->getFont()->setSubScript(true);
2042
                            }
2043
                        }
2044
                        if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) {
2045
                            $objText->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE);
2046
                        } elseif (isset($run->rPr->u) && isset($run->rPr->u['val'])) {
2047
                            $objText->getFont()->setUnderline((string) $run->rPr->u['val']);
2048
                        }
2049
                        if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) ||
2050
                            (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) {
2051
                            $objText->getFont()->setStrikethrough(true);