MDL-65762 lib: Upgrade the spout library to 3.0.1
authorAdrian Greeve <abgreeve@gmail.com>
Mon, 17 Jun 2019 00:42:31 +0000 (08:42 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Mon, 17 Jun 2019 00:42:31 +0000 (08:42 +0800)
commit8f94f447f9d4c589f3fb1a9810b2d156148038cf
tree6d2f90d614a72532712462fee7285e8709d0bcc2
parent5dae8c051579b6d79dba4763d45500b049fc0fb5
MDL-65762 lib: Upgrade the spout library to 3.0.1
159 files changed:
lib/spout/README.md
lib/spout/src/Spout/Autoloader/Psr4Autoloader.php
lib/spout/src/Spout/Autoloader/autoload.php
lib/spout/src/Spout/Common/Creator/HelperFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Entity/Cell.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Entity/Row.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Entity/Style/Border.php [moved from lib/spout/src/Spout/Writer/Style/Border.php with 79% similarity]
lib/spout/src/Spout/Common/Entity/Style/BorderPart.php [moved from lib/spout/src/Spout/Writer/Style/BorderPart.php with 98% similarity]
lib/spout/src/Spout/Common/Entity/Style/Color.php [moved from lib/spout/src/Spout/Writer/Style/Color.php with 92% similarity]
lib/spout/src/Spout/Common/Entity/Style/Style.php [moved from lib/spout/src/Spout/Writer/Style/Style.php with 57% similarity]
lib/spout/src/Spout/Common/Exception/EncodingConversionException.php
lib/spout/src/Spout/Common/Exception/IOException.php
lib/spout/src/Spout/Common/Exception/InvalidArgumentException.php
lib/spout/src/Spout/Common/Exception/InvalidColorException.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Exception/SpoutException.php
lib/spout/src/Spout/Common/Exception/UnsupportedTypeException.php
lib/spout/src/Spout/Common/Helper/CellTypeHelper.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Helper/EncodingHelper.php
lib/spout/src/Spout/Common/Helper/Escaper/CSV.php [moved from lib/spout/src/Spout/Common/Escaper/CSV.php with 90% similarity]
lib/spout/src/Spout/Common/Helper/Escaper/EscaperInterface.php [moved from lib/spout/src/Spout/Common/Escaper/EscaperInterface.php with 87% similarity]
lib/spout/src/Spout/Common/Helper/Escaper/ODS.php [moved from lib/spout/src/Spout/Common/Escaper/ODS.php with 80% similarity]
lib/spout/src/Spout/Common/Helper/Escaper/XLSX.php [moved from lib/spout/src/Spout/Common/Escaper/XLSX.php with 78% similarity]
lib/spout/src/Spout/Common/Helper/FileSystemHelper.php
lib/spout/src/Spout/Common/Helper/FileSystemHelperInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Helper/GlobalFunctionsHelper.php
lib/spout/src/Spout/Common/Helper/StringHelper.php
lib/spout/src/Spout/Common/Manager/OptionsManagerAbstract.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Manager/OptionsManagerInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Common/Singleton.php [deleted file]
lib/spout/src/Spout/Common/Type.php
lib/spout/src/Spout/Reader/CSV/Creator/InternalEntityFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/CSV/Manager/OptionsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/CSV/Reader.php
lib/spout/src/Spout/Reader/CSV/ReaderOptions.php [deleted file]
lib/spout/src/Spout/Reader/CSV/RowIterator.php
lib/spout/src/Spout/Reader/CSV/Sheet.php
lib/spout/src/Spout/Reader/CSV/SheetIterator.php
lib/spout/src/Spout/Reader/Common/Creator/InternalEntityFactoryInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/Common/Creator/ReaderEntityFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/Common/Creator/ReaderFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/Common/Entity/Options.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/Common/Manager/RowManager.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/Common/ReaderOptions.php [deleted file]
lib/spout/src/Spout/Reader/Common/XMLProcessor.php
lib/spout/src/Spout/Reader/Exception/InvalidValueException.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/Exception/IteratorNotRewindableException.php
lib/spout/src/Spout/Reader/Exception/NoSheetsFoundException.php
lib/spout/src/Spout/Reader/Exception/ReaderException.php
lib/spout/src/Spout/Reader/Exception/ReaderNotOpenedException.php
lib/spout/src/Spout/Reader/Exception/SharedStringNotFoundException.php
lib/spout/src/Spout/Reader/Exception/XMLProcessingException.php
lib/spout/src/Spout/Reader/IteratorInterface.php
lib/spout/src/Spout/Reader/ODS/Creator/HelperFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/ODS/Creator/InternalEntityFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/ODS/Creator/ManagerFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/ODS/Helper/CellValueFormatter.php
lib/spout/src/Spout/Reader/ODS/Helper/SettingsHelper.php
lib/spout/src/Spout/Reader/ODS/Manager/OptionsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/ODS/Reader.php
lib/spout/src/Spout/Reader/ODS/ReaderOptions.php [deleted file]
lib/spout/src/Spout/Reader/ODS/RowIterator.php
lib/spout/src/Spout/Reader/ODS/Sheet.php
lib/spout/src/Spout/Reader/ODS/SheetIterator.php
lib/spout/src/Spout/Reader/ReaderAbstract.php [moved from lib/spout/src/Spout/Reader/AbstractReader.php with 82% similarity]
lib/spout/src/Spout/Reader/ReaderFactory.php [deleted file]
lib/spout/src/Spout/Reader/ReaderInterface.php
lib/spout/src/Spout/Reader/SheetInterface.php
lib/spout/src/Spout/Reader/Wrapper/XMLInternalErrorsHelper.php
lib/spout/src/Spout/Reader/Wrapper/XMLReader.php
lib/spout/src/Spout/Reader/XLSX/Creator/HelperFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/XLSX/Creator/InternalEntityFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/XLSX/Creator/ManagerFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/XLSX/Helper/CellHelper.php
lib/spout/src/Spout/Reader/XLSX/Helper/CellValueFormatter.php
lib/spout/src/Spout/Reader/XLSX/Helper/DateFormatHelper.php
lib/spout/src/Spout/Reader/XLSX/Helper/SheetHelper.php [deleted file]
lib/spout/src/Spout/Reader/XLSX/Manager/OptionsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/XLSX/Manager/SharedStringsCaching/CachingStrategyFactory.php [moved from lib/spout/src/Spout/Reader/XLSX/Helper/SharedStringsCaching/CachingStrategyFactory.php with 80% similarity]
lib/spout/src/Spout/Reader/XLSX/Manager/SharedStringsCaching/CachingStrategyInterface.php [moved from lib/spout/src/Spout/Reader/XLSX/Helper/SharedStringsCaching/CachingStrategyInterface.php with 90% similarity]
lib/spout/src/Spout/Reader/XLSX/Manager/SharedStringsCaching/FileBasedStrategy.php [moved from lib/spout/src/Spout/Reader/XLSX/Helper/SharedStringsCaching/FileBasedStrategy.php with 90% similarity]
lib/spout/src/Spout/Reader/XLSX/Manager/SharedStringsCaching/InMemoryStrategy.php [moved from lib/spout/src/Spout/Reader/XLSX/Helper/SharedStringsCaching/InMemoryStrategy.php with 95% similarity]
lib/spout/src/Spout/Reader/XLSX/Manager/SharedStringsManager.php [moved from lib/spout/src/Spout/Reader/XLSX/Helper/SharedStringsHelper.php with 74% similarity]
lib/spout/src/Spout/Reader/XLSX/Manager/SheetManager.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/XLSX/Manager/StyleManager.php [moved from lib/spout/src/Spout/Reader/XLSX/Helper/StyleHelper.php with 88% similarity]
lib/spout/src/Spout/Reader/XLSX/Manager/WorkbookRelationshipsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Reader/XLSX/Reader.php
lib/spout/src/Spout/Reader/XLSX/ReaderOptions.php [deleted file]
lib/spout/src/Spout/Reader/XLSX/RowIterator.php
lib/spout/src/Spout/Reader/XLSX/Sheet.php
lib/spout/src/Spout/Reader/XLSX/SheetIterator.php
lib/spout/src/Spout/Writer/AbstractMultiSheetsWriter.php [deleted file]
lib/spout/src/Spout/Writer/AbstractWriter.php [deleted file]
lib/spout/src/Spout/Writer/CSV/Manager/OptionsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/CSV/Writer.php
lib/spout/src/Spout/Writer/Common/Creator/InternalEntityFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Creator/ManagerFactoryInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Creator/Style/BorderBuilder.php [moved from lib/spout/src/Spout/Writer/Style/BorderBuilder.php with 60% similarity]
lib/spout/src/Spout/Writer/Common/Creator/Style/StyleBuilder.php [moved from lib/spout/src/Spout/Writer/Style/StyleBuilder.php with 93% similarity]
lib/spout/src/Spout/Writer/Common/Creator/WriterEntityFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Creator/WriterFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Entity/Options.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Entity/Sheet.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Entity/Workbook.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Entity/Worksheet.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Helper/AbstractStyleHelper.php [deleted file]
lib/spout/src/Spout/Writer/Common/Helper/CellHelper.php
lib/spout/src/Spout/Writer/Common/Helper/FileSystemWithRootFolderHelperInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Helper/ZipHelper.php
lib/spout/src/Spout/Writer/Common/Internal/AbstractWorkbook.php [deleted file]
lib/spout/src/Spout/Writer/Common/Internal/WorkbookInterface.php [deleted file]
lib/spout/src/Spout/Writer/Common/Internal/WorksheetInterface.php [deleted file]
lib/spout/src/Spout/Writer/Common/Manager/CellManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/RowManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/SheetManager.php [moved from lib/spout/src/Spout/Writer/Common/Sheet.php with 57% similarity]
lib/spout/src/Spout/Writer/Common/Manager/Style/StyleManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/Style/StyleManagerInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/Style/StyleMerger.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/Style/StyleRegistry.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/WorkbookManagerAbstract.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/WorkbookManagerInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Common/Manager/WorksheetManagerInterface.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/Exception/Border/InvalidNameException.php
lib/spout/src/Spout/Writer/Exception/Border/InvalidStyleException.php
lib/spout/src/Spout/Writer/Exception/Border/InvalidWidthException.php
lib/spout/src/Spout/Writer/Exception/InvalidColorException.php [deleted file]
lib/spout/src/Spout/Writer/Exception/InvalidSheetNameException.php
lib/spout/src/Spout/Writer/Exception/SheetNotFoundException.php
lib/spout/src/Spout/Writer/Exception/WriterAlreadyOpenedException.php
lib/spout/src/Spout/Writer/Exception/WriterException.php
lib/spout/src/Spout/Writer/Exception/WriterNotOpenedException.php
lib/spout/src/Spout/Writer/ODS/Creator/HelperFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/ODS/Creator/ManagerFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/ODS/Helper/BorderHelper.php
lib/spout/src/Spout/Writer/ODS/Helper/FileSystemHelper.php
lib/spout/src/Spout/Writer/ODS/Internal/Workbook.php [deleted file]
lib/spout/src/Spout/Writer/ODS/Internal/Worksheet.php [deleted file]
lib/spout/src/Spout/Writer/ODS/Manager/OptionsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/ODS/Manager/Style/StyleManager.php [moved from lib/spout/src/Spout/Writer/ODS/Helper/StyleHelper.php with 84% similarity]
lib/spout/src/Spout/Writer/ODS/Manager/Style/StyleRegistry.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/ODS/Manager/WorkbookManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/ODS/Manager/WorksheetManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/ODS/Writer.php
lib/spout/src/Spout/Writer/WriterAbstract.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/WriterFactory.php [deleted file]
lib/spout/src/Spout/Writer/WriterInterface.php
lib/spout/src/Spout/Writer/WriterMultiSheetsAbstract.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Creator/HelperFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Creator/ManagerFactory.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Helper/BorderHelper.php
lib/spout/src/Spout/Writer/XLSX/Helper/FileSystemHelper.php
lib/spout/src/Spout/Writer/XLSX/Internal/Workbook.php [deleted file]
lib/spout/src/Spout/Writer/XLSX/Internal/Worksheet.php [deleted file]
lib/spout/src/Spout/Writer/XLSX/Manager/OptionsManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Manager/SharedStringsManager.php [moved from lib/spout/src/Spout/Writer/XLSX/Helper/SharedStringsHelper.php with 86% similarity]
lib/spout/src/Spout/Writer/XLSX/Manager/Style/StyleManager.php [moved from lib/spout/src/Spout/Writer/XLSX/Helper/StyleHelper.php with 53% similarity]
lib/spout/src/Spout/Writer/XLSX/Manager/Style/StyleRegistry.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Manager/WorkbookManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Manager/WorksheetManager.php [new file with mode: 0644]
lib/spout/src/Spout/Writer/XLSX/Writer.php