@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $data .= pack("Cv", $nameLen, $formulaLen); |
| 33 | 33 | $data .= pack("vv", 0, $sheetIndex); |
| 34 | 34 | $data .= pack("CCCC", 0, 0, 0, 0); |
| 35 | - $data .= $name . $formulaData; |
|
| 35 | + $data .= $name.$formulaData; |
|
| 36 | 36 | |
| 37 | 37 | return $this->getFullRecord($data); |
| 38 | 38 | } |
@@ -30,6 +30,6 @@ |
||
| 30 | 30 | $length += array_shift($blockSizes); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - return $this->getHeader($length) . $data; |
|
| 33 | + return $this->getHeader($length).$data; |
|
| 34 | 34 | } |
| 35 | 35 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | $iRes, |
| 45 | 45 | $iVRes |
| 46 | 46 | ); |
| 47 | - $data .= $numHdr . $numFtr; |
|
| 47 | + $data .= $numHdr.$numFtr; |
|
| 48 | 48 | |
| 49 | 49 | $iCopies = 0x01; // Number of copies |
| 50 | 50 | $data .= pack("v", $iCopies); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | $recordId = substr($data, 0, 2); |
| 32 | 32 | $newRecordSize = $limit - 4; |
| 33 | 33 | $recordData = substr($data, 4, $newRecordSize); |
| 34 | - $result = $recordId . pack("v", $newRecordSize) . $recordData; |
|
| 34 | + $result = $recordId.pack("v", $newRecordSize).$recordData; |
|
| 35 | 35 | |
| 36 | 36 | $data = substr($data, $newRecordSize + 4); |
| 37 | 37 | $result .= $this->getDataRaw($data); |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function getFullRecord($data = '') |
| 37 | 37 | { |
| 38 | - return $this->getHeader(strlen($data)) . $data; |
|
| 38 | + return $this->getHeader(strlen($data)).$data; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -27,20 +27,20 @@ |
||
| 27 | 27 | $upCount = preg_match_all("/\.\.\\\/", $url, $useless); |
| 28 | 28 | |
| 29 | 29 | // Store the short dos dir name (null terminated) |
| 30 | - $urlWithoutDots = preg_replace("/\.\.\\\/", '', $url) . "\0"; |
|
| 30 | + $urlWithoutDots = preg_replace("/\.\.\\\/", '', $url)."\0"; |
|
| 31 | 31 | |
| 32 | 32 | // Unknown 24 bytes |
| 33 | - $unknown = pack("H*", 'FFFFADDE' . str_repeat('00', 20)); |
|
| 33 | + $unknown = pack("H*", 'FFFFADDE'.str_repeat('00', 20)); |
|
| 34 | 34 | |
| 35 | 35 | $streamLen = pack("V", 0); |
| 36 | 36 | |
| 37 | 37 | $options = $this->getOptions($url); |
| 38 | 38 | $data = $this->getCommonData($range, $options); |
| 39 | - $data .= pack("H*", static::MONIKER_GUID) . |
|
| 40 | - pack("v", $upCount) . |
|
| 41 | - pack("V", strlen($urlWithoutDots)) . |
|
| 42 | - $urlWithoutDots . |
|
| 43 | - $unknown . |
|
| 39 | + $data .= pack("H*", static::MONIKER_GUID). |
|
| 40 | + pack("v", $upCount). |
|
| 41 | + pack("V", strlen($urlWithoutDots)). |
|
| 42 | + $urlWithoutDots. |
|
| 43 | + $unknown. |
|
| 44 | 44 | $streamLen; |
| 45 | 45 | |
| 46 | 46 | if ($cellRef) { |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | $data = pack("vvvv", $width, $height, $planesCount, $colorDepth); |
| 20 | 20 | |
| 21 | - return pack("V", strlen($data) + 4) . $data; |
|
| 21 | + return pack("V", strlen($data) + 4).$data; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | $header = pack("vv", 0x15, strlen($data)); |
| 21 | 21 | |
| 22 | - return $header . $data; |
|
| 22 | + return $header.$data; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | protected function getFtNtsSubrecord($guid = null) |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | //reserved |
| 37 | 37 | $data .= pack('vv', 0x10, 0); |
| 38 | 38 | |
| 39 | - return $header . $data; |
|
| 39 | + return $header.$data; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | protected function getFtEndSubrecord() |
@@ -188,10 +188,10 @@ discard block |
||
| 188 | 188 | { |
| 189 | 189 | $data = pack("V", $this->getOptions()); |
| 190 | 190 | |
| 191 | - $data .= pack("vC", strlen($this->titlePrompt), 0x00) . $this->titlePrompt; |
|
| 192 | - $data .= pack("vC", strlen($this->titleError), 0x00) . $this->titleError; |
|
| 193 | - $data .= pack("vC", strlen($this->descrPrompt), 0x00) . $this->descrPrompt; |
|
| 194 | - $data .= pack("vC", strlen($this->descrError), 0x00) . $this->descrError; |
|
| 191 | + $data .= pack("vC", strlen($this->titlePrompt), 0x00).$this->titlePrompt; |
|
| 192 | + $data .= pack("vC", strlen($this->titleError), 0x00).$this->titleError; |
|
| 193 | + $data .= pack("vC", strlen($this->descrPrompt), 0x00).$this->descrPrompt; |
|
| 194 | + $data .= pack("vC", strlen($this->descrError), 0x00).$this->descrError; |
|
| 195 | 195 | |
| 196 | 196 | $data .= $this->packFormula($this->formula1); |
| 197 | 197 | $data .= $this->packFormula($this->formula2); |
@@ -211,6 +211,6 @@ discard block |
||
| 211 | 211 | $formula = $this->formulaParser->getReversePolish($formula); |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | - return pack("vv", strlen($formula), 0x00) . $formula; |
|
| 214 | + return pack("vv", strlen($formula), 0x00).$formula; |
|
| 215 | 215 | } |
| 216 | 216 | } |