From 3e8fc34ec50738104d6bc0e2650015c795099f9c Mon Sep 17 00:00:00 2001 From: Janson Date: Wed, 4 Apr 2018 18:45:51 +0800 Subject: [PATCH] Ignore Excel5 warning --- src/Parser/Excel5.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Parser/Excel5.php b/src/Parser/Excel5.php index dfcb9e8..c9fe693 100644 --- a/src/Parser/Excel5.php +++ b/src/Parser/Excel5.php @@ -7,6 +7,8 @@ */ namespace EC\PHPExcel\Parser; +error_reporting(E_ERROR); + use EC\PHPExcel\Exception\ParserException; use EC\PHPExcel\Parser\Excel5\OLERead; use EC\PHPExcel\Parser\Excel5\RC4; @@ -335,7 +337,7 @@ public function parseWorksheetInfo() { break; case self::XLS_TYPE_SST: - @$this->readSst(); + $this->readSst(); break; case self::XLS_TYPE_SHEET: