Support for missing styles XML file in XLSX
Some files don't have a "styles.xml" file. Excel supports these files, Spout should do too.
This commit is contained in:
1 parent
6c4086cf97
commit
1bbfd45b82
5 files changed
+37
-3
No files matched your search
@@ -19,6 +19,7 @@ class StyleManagerTest extends TestCase
|
||||
{
|
||||
$entityFactory = $this->createMock(InternalEntityFactory::class);
|
||||
$workbookRelationshipsManager = $this->createMock(WorkbookRelationshipsManager::class);
|
||||
$workbookRelationshipsManager->method('hasStylesXMLFile')->willReturn(true);
|
||||
|
||||
/** @var StyleManager $styleManager */
|
||||
$styleManager = $this->getMockBuilder('\Box\Spout\Reader\XLSX\Manager\StyleManager')
|
||||
|
||||
Reference in new issue
Block a user