Coding standards
This commit is contained in:
parent
c1d0784ad7
commit
14159d985c
|
@ -215,6 +215,7 @@ abstract class BaseReader implements IReader
|
||||||
if (property_exists($this, 'securityScanner')) {
|
if (property_exists($this, 'securityScanner')) {
|
||||||
return $this->securityScanner;
|
return $this->securityScanner;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheetTests\Reader\Security;
|
namespace PhpOffice\PhpSpreadsheetTests\Reader\Security;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner;
|
use PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner;
|
||||||
use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Reader\Xls;
|
use PhpOffice\PhpSpreadsheet\Reader\Xls;
|
||||||
|
use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
class XmlScannerTest extends TestCase
|
class XmlScannerTest extends TestCase
|
||||||
|
@ -80,6 +80,7 @@ class XmlScannerTest extends TestCase
|
||||||
* @dataProvider providerValidXMLForCallback
|
* @dataProvider providerValidXMLForCallback
|
||||||
*
|
*
|
||||||
* @param mixed $filename
|
* @param mixed $filename
|
||||||
|
* @param mixed $expectedResult
|
||||||
*/
|
*/
|
||||||
public function testSecurityScanWithCallback($filename, $expectedResult)
|
public function testSecurityScanWithCallback($filename, $expectedResult)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue