PhpSpreadsheet/tests
Mikkel Paulson 1853aaac79 Add option to suppress validation of sheet titles (#186)
Add option to suppress validation of sheet titles

Based on a "lowest common denominator" approach to compatibility,
we will continue to enforce a 31-character limit for sheet titles.
However, this limit should not be enforced when loading an existing
file.

Added a new optional parameter to Worksheet::setTitle() and
Worksheet::setCodeName() to suppress validation and massaging,
based on the premise that existing files should be given a
best-effort approach to loading and parsing. Unfortunately, it's
not possible with the current architecture to prevent users from
making use of this functionality, aside from with a strongly-worded
warning.

Added test coverage. I didn't see any existing unit tests of the
Worksheet class, so I created a new test to cover these methods.

Fixes #176
2017-07-14 10:53:13 +02:00
..
PhpSpreadsheetTests Add option to suppress validation of sheet titles (#186) 2017-07-14 10:53:13 +02:00
data Infer CSV delimiter if it hasn't been set explicitly 2017-04-20 17:02:03 +09:00
bootstrap.php Simplify bootstrap for tests 2017-01-23 15:05:41 +09:00