Add phpstan until level 7
This commit is contained in:
1 parent
540667870a
commit
efcf35be50
7 files changed
+67
-11
No files matched your search
@@ -87,6 +87,7 @@ class SheetTest extends TestCase
|
||||
|
||||
$resourcePath = $this->getGeneratedResourcePath($fileName);
|
||||
$pathToWorkbookFile = $resourcePath . '#xl/workbook.xml';
|
||||
/** @var string $xmlContents */
|
||||
$xmlContents = file_get_contents('zip://' . $pathToWorkbookFile);
|
||||
|
||||
$this->assertStringContainsString(' state="hidden"', $xmlContents, 'The sheet visibility should have been changed to "hidden"');
|
||||
@@ -164,6 +165,7 @@ class SheetTest extends TestCase
|
||||
{
|
||||
$resourcePath = $this->getGeneratedResourcePath($fileName);
|
||||
$pathToWorkbookFile = $resourcePath . '#xl/workbook.xml';
|
||||
/** @var string $xmlContents */
|
||||
$xmlContents = file_get_contents('zip://' . $pathToWorkbookFile);
|
||||
|
||||
$this->assertStringContainsString("<sheet name=\"$expectedName\"", $xmlContents, $message);
|
||||
|
||||
Reference in new issue
Block a user