Completed
Pull Request — develop (#257)
by
unknown
26:55 queued 04:53
created
tests/PhpSpreadsheetTests/CellTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
         $testCell = $sheet->getCell('A1');
333 333
 
334 334
         $validation = $testCell->getDataValidation();
335
-        $validation->setType( \PhpOffice\PhpSpreadsheet\Cell\DataValidation::TYPE_LIST );
335
+        $validation->setType(\PhpOffice\PhpSpreadsheet\Cell\DataValidation::TYPE_LIST);
336 336
 
337 337
         // blank value
338 338
         $testCell->setValue("");
@@ -352,11 +352,11 @@  discard block
 block discarded – undo
352 352
         $sheet->getCell('B1')->setValue(5);
353 353
         $sheet->getCell('B2')->setValue(6);
354 354
         $sheet->getCell('B3')->setValue(7);
355
-        $testCell = $sheet->getCell('A1');      // redefine $testCell, because it has broken coordinates after using other cells
355
+        $testCell = $sheet->getCell('A1'); // redefine $testCell, because it has broken coordinates after using other cells
356 356
         $validation->setFormula1('B1:B3');
357 357
         $testCell->setValue("10");
358 358
         self::assertEquals(false, $testCell->hasValidValue(), "cell value ('10') is not allowed");
359
-        $testCell = $sheet->getCell('A1');      // redefine $testCell, because it has broken coordinates after using other cells
359
+        $testCell = $sheet->getCell('A1'); // redefine $testCell, because it has broken coordinates after using other cells
360 360
         $testCell->setValue("5");
361 361
         self::assertEquals(true, $testCell->hasValidValue(), "cell value ('5') has to be allowed");
362 362
     }
Please login to merge, or discard this patch.