From 3abb7ccb357e185c6f65e00018d4d29d682b6f3a Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Sun, 25 Nov 2018 14:41:11 +0100 Subject: [PATCH] CS Complaining about not uisng $this->assertInternalType('object', $scanner); --- tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php b/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php index bc0eec6a..a456f561 100644 --- a/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php @@ -63,7 +63,7 @@ class XmlScannerTest extends TestCase $scanner = $fileReader->getSecuritySCanner(); // Must return an object... - $this->assertTrue(is_object($scanner)); + $this->assertInternalType('object', $scanner); // ... of the correct type $this->assertInstanceOf(XmlScanner::class, $scanner); }