Need to support PHP5.3 for a client unfortunately

This commit is contained in:
Chris Graham committed 2015-03-22 22:58:33 +00:00
1 parent 6eef69634b
commit 31482fc622
7 files changed
+11 -10

No files matched your search

+2 -2
View File
@@ -58,8 +58,8 @@ class XLSX implements EscaperInterface
*/
protected function getControlCharactersEscapingMap()
{
$controlCharactersEscapingMap = [];
$whitelistedControlCharacters = ["\t", "\r", "\n"];
$controlCharactersEscapingMap = array();
$whitelistedControlCharacters = array("\t", "\r", "\n");
// control characters values are from 0 to 1F (hex values) in the ASCII table
for ($charValue = 0x0; $charValue <= 0x1F; $charValue++) {