Code Duplication    Length = 5-5 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

@@ 1899-1903 (lines=5) @@
1896
            }
1897
            $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color));
1898
1899
            if (isset($style->font->u) && !isset($style->font->u['val'])) {
1900
                $docStyle->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE);
1901
            } elseif (isset($style->font->u) && isset($style->font->u['val'])) {
1902
                $docStyle->getFont()->setUnderline((string) $style->font->u['val']);
1903
            }
1904
1905
            if (isset($style->font->vertAlign) && isset($style->font->vertAlign['val'])) {
1906
                $vertAlign = strtolower((string) $style->font->vertAlign['val']);
@@ 2055-2059 (lines=5) @@
2052
                                $objText->getFont()->setSubScript(true);
2053
                            }
2054
                        }
2055
                        if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) {
2056
                            $objText->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE);
2057
                        } elseif (isset($run->rPr->u) && isset($run->rPr->u['val'])) {
2058
                            $objText->getFont()->setUnderline((string) $run->rPr->u['val']);
2059
                        }
2060
                        if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) ||
2061
                            (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) {
2062
                            $objText->getFont()->setStrikethrough(true);