Completed
Push — develop ( 699d11...3cc80b )
by Adrien
31:49 queued 19:10
created
tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -45,22 +45,22 @@
 block discarded – undo
45 45
             ->disableOriginalConstructor()
46 46
             ->getMock();
47 47
         $cache->expects($this->any())
48
-                 ->method('getParent')
49
-                 ->will($this->returnValue($sheet));
48
+                    ->method('getParent')
49
+                    ->will($this->returnValue($sheet));
50 50
 
51 51
         $sheet->expects($this->once())
52
-                 ->method('getStyle')
53
-                 ->will($this->returnSelf());
52
+                    ->method('getStyle')
53
+                    ->will($this->returnSelf());
54 54
         $sheet->expects($this->once())
55
-                 ->method('getNumberFormat')
56
-                 ->will($this->returnSelf());
55
+                    ->method('getNumberFormat')
56
+                    ->will($this->returnSelf());
57 57
         $sheet->expects($this->once())
58
-                 ->method('setFormatCode')
59
-                 ->with($format)
60
-                 ->will($this->returnSelf());
58
+                    ->method('setFormatCode')
59
+                    ->with($format)
60
+                    ->will($this->returnSelf());
61 61
         $sheet->expects($this->any())
62
-                 ->method('getCellCacheController')
63
-                 ->will($this->returnValue($cache));
62
+                    ->method('getCellCacheController')
63
+                    ->will($this->returnValue($cache));
64 64
 
65 65
         \PHPExcel\Shared\StringHelper::setCurrencyCode($currencyCode);
66 66
         \PHPExcel\Shared\StringHelper::setDecimalSeparator($decimalSeparator);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
             ->getMock();
25 25
         // Configure the stub.
26 26
         $this->cellStub->expects($this->any())
27
-             ->method('setValueExplicit')
28
-             ->will($this->returnValue(true));
27
+                ->method('setValueExplicit')
28
+                ->will($this->returnValue(true));
29 29
 
30 30
     }
31 31
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE/PPS.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -164,21 +164,21 @@
 block discarded – undo
164 164
         $ret = str_pad($this->Name, 64, "\x00");
165 165
 
166 166
         $ret .= pack('v', strlen($this->Name) + 2)  // 66
167
-              . pack('c', $this->Type)              // 67
168
-              . pack('c', 0x00) //UK                // 68
169
-              . pack('V', $this->PrevPps) //Prev    // 72
170
-              . pack('V', $this->NextPps) //Next    // 76
171
-              . pack('V', $this->DirPps)  //Dir     // 80
172
-              . "\x00\x09\x02\x00"                  // 84
173
-              . "\x00\x00\x00\x00"                  // 88
174
-              . "\xc0\x00\x00\x00"                  // 92
175
-              . "\x00\x00\x00\x46"                  // 96 // Seems to be ok only for Root
176
-              . "\x00\x00\x00\x00"                  // 100
177
-              . \PhpOffice\PhpSpreadsheet\Shared\OLE::localDateToOLE($this->Time1st)          // 108
178
-              . \PhpOffice\PhpSpreadsheet\Shared\OLE::localDateToOLE($this->Time2nd)          // 116
179
-              . pack('V', isset($this->startBlock) ? $this->startBlock : 0)  // 120
180
-              . pack('V', $this->Size)               // 124
181
-              . pack('V', 0); // 128
167
+                . pack('c', $this->Type)              // 67
168
+                . pack('c', 0x00) //UK                // 68
169
+                . pack('V', $this->PrevPps) //Prev    // 72
170
+                . pack('V', $this->NextPps) //Next    // 76
171
+                . pack('V', $this->DirPps)  //Dir     // 80
172
+                . "\x00\x09\x02\x00"                  // 84
173
+                . "\x00\x00\x00\x00"                  // 88
174
+                . "\xc0\x00\x00\x00"                  // 92
175
+                . "\x00\x00\x00\x46"                  // 96 // Seems to be ok only for Root
176
+                . "\x00\x00\x00\x00"                  // 100
177
+                . \PhpOffice\PhpSpreadsheet\Shared\OLE::localDateToOLE($this->Time1st)          // 108
178
+                . \PhpOffice\PhpSpreadsheet\Shared\OLE::localDateToOLE($this->Time2nd)          // 116
179
+                . pack('V', isset($this->startBlock) ? $this->startBlock : 0)  // 120
180
+                . pack('V', $this->Size)               // 124
181
+                . pack('V', 0); // 128
182 182
         return $ret;
183 183
     }
184 184
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,8 +140,8 @@
 block discarded – undo
140 140
         }
141 141
 
142 142
         $hashTablesArray = ['stylesConditionalHashTable', 'fillHashTable', 'fontHashTable',
143
-                                  'bordersHashTable', 'numFmtHashTable', 'drawingHashTable',
144
-                                  'styleHashTable',
143
+                                    'bordersHashTable', 'numFmtHashTable', 'drawingHashTable',
144
+                                    'styleHashTable',
145 145
                                 ];
146 146
 
147 147
         // Set HashTable variables
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Worksheet.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1147,14 +1147,14 @@
 block discarded – undo
1147 1147
 
1148 1148
         // Pack the main data stream
1149 1149
         $data = pack('vvvv', $row1, $row2, $col1, $col2) .
1150
-                          $unknown1 .
1151
-                          $link_type .
1152
-                          $unknown2 .
1153
-                          $up_count .
1154
-                          $dir_short_len .
1155
-                          $dir_short .
1156
-                          $unknown3 .
1157
-                          $stream_len; /*.
1150
+                            $unknown1 .
1151
+                            $link_type .
1152
+                            $unknown2 .
1153
+                            $up_count .
1154
+                            $dir_short_len .
1155
+                            $dir_short .
1156
+                            $unknown3 .
1157
+                            $stream_len; /*.
1158 1158
                           $dir_long_len .
1159 1159
                           $unknown4     .
1160 1160
                           $dir_long     .
Please login to merge, or discard this patch.