Code Duplication    Length = 8-8 lines in 6 locations

app/Vendor/PHPExcel/PHPExcel/Reader/Excel5.php 1 location

@@ 4466-4473 (lines=8) @@
4463
	/**
4464
	 * Read DATAVALIDATIONS record
4465
	 */
4466
	private function _readDataValidations()
4467
	{
4468
		$length = self::_GetInt2d($this->_data, $this->_pos + 2);
4469
		$recordData = substr($this->_data, $this->_pos + 4, $length);
4470
4471
		// move stream pointer forward to next record
4472
		$this->_pos += 4 + $length;
4473
	}
4474
4475
4476
	/**

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

@@ 182-189 (lines=8) @@
179
	/**
180
	 * Read Dgg record (Drawing Group)
181
	 */
182
	private function _readDgg()
183
	{
184
		$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
185
		$recordData = substr($this->_data, $this->_pos + 8, $length);
186
187
		// move stream pointer to next record
188
		$this->_pos += 8 + $length;
189
	}
190
191
	/**
192
	 * Read BstoreContainer record (Blip Store Container)
@@ 396-403 (lines=8) @@
393
	/**
394
	 * Read SplitMenuColors record
395
	 */
396
	private function _readSplitMenuColors()
397
	{
398
		$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
399
		$recordData = substr($this->_data, $this->_pos + 8, $length);
400
401
		// move stream pointer to next record
402
		$this->_pos += 8 + $length;
403
	}
404
405
	/**
406
	 * Read DgContainer record (Drawing Container)
@@ 426-433 (lines=8) @@
423
	/**
424
	 * Read Dg record (Drawing)
425
	 */
426
	private function _readDg()
427
	{
428
		$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
429
		$recordData = substr($this->_data, $this->_pos + 8, $length);
430
431
		// move stream pointer to next record
432
		$this->_pos += 8 + $length;
433
	}
434
435
	/**
436
	 * Read SpgrContainer record (Shape Group Container)
@@ 486-493 (lines=8) @@
483
	/**
484
	 * Read Spgr record (Shape Group)
485
	 */
486
	private function _readSpgr()
487
	{
488
		$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
489
		$recordData = substr($this->_data, $this->_pos + 8, $length);
490
491
		// move stream pointer to next record
492
		$this->_pos += 8 + $length;
493
	}
494
495
	/**
496
	 * Read Sp record (Shape)
@@ 586-593 (lines=8) @@
583
	/**
584
	 * Read ClientData record
585
	 */
586
	private function _readClientData()
587
	{
588
		$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
589
		$recordData = substr($this->_data, $this->_pos + 8, $length);
590
591
		// move stream pointer to next record
592
		$this->_pos += 8 + $length;
593
	}
594
595
	/**
596
	 * Read OfficeArtRGFOPTE table of property-value pairs