Add phpstan until level 7

This commit is contained in:
Antoine Lamirault committed 2021-09-18 18:37:45 +02:00
1 parent 540667870a
commit efcf35be50
7 files changed
+67 -11

No files matched your search

+2
View File
@@ -87,6 +87,7 @@ class SheetTest extends TestCase
$resourcePath = $this->getGeneratedResourcePath($fileName);
$pathToContentFile = $resourcePath . '#content.xml';
/** @var string $xmlContents */
$xmlContents = file_get_contents('zip://' . $pathToContentFile);
$this->assertStringContainsString(' table:display="false"', $xmlContents, 'The sheet visibility should have been changed to "hidden"');
@@ -162,6 +163,7 @@ class SheetTest extends TestCase
{
$resourcePath = $this->getGeneratedResourcePath($fileName);
$pathToWorkbookFile = $resourcePath . '#content.xml';
/** @var string $xmlContents */
$xmlContents = file_get_contents('zip://' . $pathToWorkbookFile);
$this->assertStringContainsString("table:name=\"$expectedName\"", $xmlContents, $message);