PhpSpreadsheet/tests/PhpSpreadsheetTests/Worksheet
Timur 50a9bc83ab Sheet title can contain exclamation mark (in formulas)
When extracting sheet title from string reference (like `"Work!sheet1!A1"`), PHP function `explode()` divide this string into three parts: `['Work', 'sheet1', 'A1']`. And then these wrong values are used in formulas, ranges, etc.

This change fix that problem by using special function `Worksheet::extractSheetTitle()`. This function also has been changed to make sure that worksheet title can contain "!" character. So, that function search last position of "!" in reference string and divide it to 2 parts correctly: `['Work!sheet1', 'A1']`.

Fixes #325
Fixes #662
2018-10-03 12:52:51 +09:00
..
AutoFilter Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
AutoFilterTest.php Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
ColumnCellIteratorTest.php Allow iterators to go out of bounds with prev() 2018-08-19 14:02:17 +09:00
ColumnIteratorTest.php Allow iterators to go out of bounds with prev() 2018-08-19 14:02:17 +09:00
ColumnTest.php Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
DrawingTest.php Avoid memory exhaustion when cloning worksheet with a drawing 2018-08-05 13:21:01 +09:00
IteratorTest.php Allow iterators to go out of bounds with prev() 2018-08-19 14:02:17 +09:00
RowCellIteratorTest.php Allow iterators to go out of bounds with prev() 2018-08-19 14:02:17 +09:00
RowIteratorTest.php Allow iterators to go out of bounds with prev() 2018-08-19 14:02:17 +09:00
RowTest.php Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
WorksheetTest.php Sheet title can contain exclamation mark (in formulas) 2018-10-03 12:52:51 +09:00