Completed
Branch master (962a82)
by Adrien
09:13
created
unitTests/Classes/src/Worksheet/WorksheetColumnTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
             ->disableOriginalConstructor()
14 14
             ->getMock();
15 15
         $this->mockWorksheet->expects($this->any())
16
-                 ->method('getHighestRow')
17
-                 ->will($this->returnValue(5));
16
+                    ->method('getHighestRow')
17
+                    ->will($this->returnValue(5));
18 18
     }
19 19
 
20 20
 
Please login to merge, or discard this patch.
unitTests/Classes/src/Worksheet/RowCellIteratorTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
             ->getMock();
19 19
 
20 20
         $this->mockWorksheet->expects($this->any())
21
-                 ->method('getHighestColumn')
22
-                 ->will($this->returnValue('E'));
21
+                    ->method('getHighestColumn')
22
+                    ->will($this->returnValue('E'));
23 23
         $this->mockWorksheet->expects($this->any())
24
-                 ->method('getCellByColumnAndRow')
25
-                 ->will($this->returnValue($this->mockCell));
24
+                    ->method('getCellByColumnAndRow')
25
+                    ->will($this->returnValue($this->mockCell));
26 26
     }
27 27
 
28 28
 
Please login to merge, or discard this patch.
unitTests/Classes/src/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.
unitTests/Classes/src/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/Calculation/DateTime.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -874,7 +874,7 @@
 block discarded – undo
874 874
                             $endDay = self::DAYOFMONTH($endDate);
875 875
                             if (($startMonth < 3) ||
876 876
                                 (($endMonth * 100 + $endDay) >= (2 * 100 + 29))) {
877
-                                 $leapDays += 1;
877
+                                    $leapDays += 1;
878 878
                             }
879 879
                         }
880 880
                     } else {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1214,20 +1214,20 @@
 block discarded – undo
1214 1214
         return $returnValue;
1215 1215
     }
1216 1216
 
1217
-     /**
1218
-     *    SUMIFS
1219
-     *
1220
-     *    Counts the number of cells that contain numbers within the list of arguments
1221
-     *
1222
-     *    Excel Function:
1223
-     *        SUMIFS(value1[,value2[, ...]],condition)
1224
-     *
1225
-     *    @access    public
1226
-     *    @category Mathematical and Trigonometric Functions
1227
-     *    @param    mixed        $arg,...        Data values
1228
-     *    @param    string        $condition        The criteria that defines which cells will be summed.
1229
-     *    @return    float
1230
-     */
1217
+        /**
1218
+         *    SUMIFS
1219
+         *
1220
+         *    Counts the number of cells that contain numbers within the list of arguments
1221
+         *
1222
+         *    Excel Function:
1223
+         *        SUMIFS(value1[,value2[, ...]],condition)
1224
+         *
1225
+         *    @access    public
1226
+         *    @category Mathematical and Trigonometric Functions
1227
+         *    @param    mixed        $arg,...        Data values
1228
+         *    @param    string        $condition        The criteria that defines which cells will be summed.
1229
+         *    @return    float
1230
+         */
1231 1231
     public static function SUMIFS()
1232 1232
     {
1233 1233
         $arrayList = func_get_args();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/FormulaParser.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
                     (($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP)) ||
501 501
                     (($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP)) ||
502 502
                     ($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND)
503
-                  ) ) {
503
+                    ) ) {
504 504
                 continue;
505 505
             }
506 506
 
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
                     (($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_START)) ||
513 513
                     (($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_START)) ||
514 514
                     ($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND)
515
-                  ) ) {
515
+                    ) ) {
516 516
                 continue;
517 517
             }
518 518
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/ZipStreamWrapper.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -174,26 +174,26 @@
 block discarded – undo
174 174
         switch ($whence) {
175 175
             case SEEK_SET:
176 176
                 if ($offset < strlen($this->data) && $offset >= 0) {
177
-                     $this->position = $offset;
178
-                     return true;
177
+                        $this->position = $offset;
178
+                        return true;
179 179
                 } else {
180
-                     return false;
180
+                        return false;
181 181
                 }
182 182
                 break;
183 183
             case SEEK_CUR:
184 184
                 if ($offset >= 0) {
185
-                     $this->position += $offset;
186
-                     return true;
185
+                        $this->position += $offset;
186
+                        return true;
187 187
                 } else {
188
-                     return false;
188
+                        return false;
189 189
                 }
190 190
                 break;
191 191
             case SEEK_END:
192 192
                 if (strlen($this->data) + $offset >= 0) {
193
-                     $this->position = strlen($this->data) + $offset;
194
-                     return true;
193
+                        $this->position = strlen($this->data) + $offset;
194
+                        return true;
195 195
                 } else {
196
-                     return false;
196
+                        return false;
197 197
                 }
198 198
                 break;
199 199
             default:
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/File.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,11 +61,11 @@
 block discarded – undo
61 61
 
62 62
 
63 63
     /**
64
-      * Verify if a file exists
65
-      *
66
-      * @param     string    $pFilename    Filename
67
-      * @return bool
68
-      */
64
+     * Verify if a file exists
65
+     *
66
+     * @param     string    $pFilename    Filename
67
+     * @return bool
68
+     */
69 69
     public static function fileExists($pFilename)
70 70
     {
71 71
         // Sick construction, but it seems that
Please login to merge, or discard this patch.