Code Duplication    Length = 3-3 lines in 5 locations

app/Vendor/PHPExcel/PHPExcel/Reader/Excel5.php 5 locations

@@ 2022-2024 (lines=3) @@
2019
2020
				// offset: 10; size: 4; Cell border lines and background area
2021
					// bit: 3-0; mask: 0x0000000F; left style
2022
					if ($bordersLeftStyle = self::_mapBorderStyle((0x0000000F & self::_GetInt4d($recordData, 10)) >> 0)) {
2023
						$objStyle->getBorders()->getLeft()->setBorderStyle($bordersLeftStyle);
2024
					}
2025
					// bit: 7-4; mask: 0x000000F0; right style
2026
					if ($bordersRightStyle = self::_mapBorderStyle((0x000000F0 & self::_GetInt4d($recordData, 10)) >> 4)) {
2027
						$objStyle->getBorders()->getRight()->setBorderStyle($bordersRightStyle);
@@ 2026-2028 (lines=3) @@
2023
						$objStyle->getBorders()->getLeft()->setBorderStyle($bordersLeftStyle);
2024
					}
2025
					// bit: 7-4; mask: 0x000000F0; right style
2026
					if ($bordersRightStyle = self::_mapBorderStyle((0x000000F0 & self::_GetInt4d($recordData, 10)) >> 4)) {
2027
						$objStyle->getBorders()->getRight()->setBorderStyle($bordersRightStyle);
2028
					}
2029
					// bit: 11-8; mask: 0x00000F00; top style
2030
					if ($bordersTopStyle = self::_mapBorderStyle((0x00000F00 & self::_GetInt4d($recordData, 10)) >> 8)) {
2031
						$objStyle->getBorders()->getTop()->setBorderStyle($bordersTopStyle);
@@ 2030-2032 (lines=3) @@
2027
						$objStyle->getBorders()->getRight()->setBorderStyle($bordersRightStyle);
2028
					}
2029
					// bit: 11-8; mask: 0x00000F00; top style
2030
					if ($bordersTopStyle = self::_mapBorderStyle((0x00000F00 & self::_GetInt4d($recordData, 10)) >> 8)) {
2031
						$objStyle->getBorders()->getTop()->setBorderStyle($bordersTopStyle);
2032
					}
2033
					// bit: 15-12; mask: 0x0000F000; bottom style
2034
					if ($bordersBottomStyle = self::_mapBorderStyle((0x0000F000 & self::_GetInt4d($recordData, 10)) >> 12)) {
2035
						$objStyle->getBorders()->getBottom()->setBorderStyle($bordersBottomStyle);
@@ 2034-2036 (lines=3) @@
2031
						$objStyle->getBorders()->getTop()->setBorderStyle($bordersTopStyle);
2032
					}
2033
					// bit: 15-12; mask: 0x0000F000; bottom style
2034
					if ($bordersBottomStyle = self::_mapBorderStyle((0x0000F000 & self::_GetInt4d($recordData, 10)) >> 12)) {
2035
						$objStyle->getBorders()->getBottom()->setBorderStyle($bordersBottomStyle);
2036
					}
2037
					// bit: 22-16; mask: 0x007F0000; left color
2038
					$objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & self::_GetInt4d($recordData, 10)) >> 16;
2039
@@ 2072-2074 (lines=3) @@
2069
					$objStyle->getBorders()->getDiagonal()->colorIndex = (0x001FC000 & self::_GetInt4d($recordData, 14)) >> 14;
2070
2071
					// bit: 24-21; mask: 0x01E00000; diagonal style
2072
					if ($bordersDiagonalStyle = self::_mapBorderStyle((0x01E00000 & self::_GetInt4d($recordData, 14)) >> 21)) {
2073
						$objStyle->getBorders()->getDiagonal()->setBorderStyle($bordersDiagonalStyle);
2074
					}
2075
2076
					// bit: 31-26; mask: 0xFC000000 fill pattern
2077
					if ($fillType = self::_mapFillPattern((0xFC000000 & self::_GetInt4d($recordData, 14)) >> 26)) {