Coding standards

This commit is contained in:
MarkBaker 2018-11-25 14:33:01 +01:00
parent c1d0784ad7
commit 14159d985c
2 changed files with 3 additions and 1 deletions

View File

@ -215,6 +215,7 @@ abstract class BaseReader implements IReader
if (property_exists($this, 'securityScanner')) {
return $this->securityScanner;
}
return null;
}

View File

@ -3,8 +3,8 @@
namespace PhpOffice\PhpSpreadsheetTests\Reader\Security;
use PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
use PhpOffice\PhpSpreadsheet\Reader\Xls;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
use PHPUnit\Framework\TestCase;
class XmlScannerTest extends TestCase
@ -80,6 +80,7 @@ class XmlScannerTest extends TestCase
* @dataProvider providerValidXMLForCallback
*
* @param mixed $filename
* @param mixed $expectedResult
*/
public function testSecurityScanWithCallback($filename, $expectedResult)
{