Mark Baker

Results 221 comments of Mark Baker

`setReadDataOnly()` is a method of the Reader, called before you load the spreadsheet. Calling it against the Spreadsheet once you've already loaded it is rather pointless because the purpose of...

> `Some numbers like 3.2.11 is read 3 february 2012` What is `3.2.11`? It certainly isn't a number

If this was an Excel xls or xlsx file, then it should be defined as a string in the file, and treated as such by PhpSpreadsheet. If it's being treated...

Microsoft only implemented this functionality 12 months ago, and it has not yet been implemented in PhpSpreadsheet. It's on my list of new features to implement, along with the new...

No ETA yet, it's more complex because of the options to set multiple images in a single cell and set sizing rules for each of them (including autosize to fit...

Somewhere you are outputting two whitespaces before the file is generated, so they appear at the beginning of the filestream and are included in the file when it is saved

So something is different between your dev and your prod. Those spaces are visible in the output you've shown, immediately before the 'PK' on that first line.

`default` should __not__ be included in the CYC calculation: like the `else` path, it's already factored in by the initialisation of the complexity value as 1, but every instance of...

And with some more thought: a `switch` with a `case` that drops straight through to `default` (as in the examples that jrf has shown) without any intermediate code shouldn't be...