Fix indentation as suggested by Scrunitizer
This commit is contained in:
parent
e9d03cc6d3
commit
ec928d393f
|
@ -52,10 +52,7 @@ class AdvancedValueBinderTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testCurrency($value, $valueBinded, $format, $thousandsSeparator, $decimalSeparator, $currencyCode)
|
public function testCurrency($value, $valueBinded, $format, $thousandsSeparator, $decimalSeparator, $currencyCode)
|
||||||
{
|
{
|
||||||
$sheet = $this->getMock(
|
$sheet = $this->getMock(Worksheet::class, ['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController']);
|
||||||
Worksheet::class,
|
|
||||||
['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController']
|
|
||||||
);
|
|
||||||
$cache = $this->getMockBuilder(Memory::class)
|
$cache = $this->getMockBuilder(Memory::class)
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
|
@ -7,7 +7,6 @@ use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column;
|
||||||
class RuleTest extends \PHPUnit_Framework_TestCase
|
class RuleTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
private $testAutoFilterRuleObject;
|
private $testAutoFilterRuleObject;
|
||||||
|
|
||||||
private $mockAutoFilterColumnObject;
|
private $mockAutoFilterColumnObject;
|
||||||
|
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
|
|
@ -20,10 +20,7 @@ class ColumnTest extends \PHPUnit_Framework_TestCase
|
||||||
->method('testColumnInRange')
|
->method('testColumnInRange')
|
||||||
->will($this->returnValue(3));
|
->will($this->returnValue(3));
|
||||||
|
|
||||||
$this->testAutoFilterColumnObject = new AutoFilter\Column(
|
$this->testAutoFilterColumnObject = new AutoFilter\Column($this->testInitialColumn, $this->mockAutoFilterObject);
|
||||||
$this->testInitialColumn,
|
|
||||||
$this->mockAutoFilterObject
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetColumnIndex()
|
public function testGetColumnIndex()
|
||||||
|
|
|
@ -10,11 +10,8 @@ use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column;
|
||||||
class AutoFilterTest extends \PHPUnit_Framework_TestCase
|
class AutoFilterTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
private $testInitialRange = 'H2:O256';
|
private $testInitialRange = 'H2:O256';
|
||||||
|
|
||||||
private $testAutoFilterObject;
|
private $testAutoFilterObject;
|
||||||
|
|
||||||
private $mockWorksheetObject;
|
private $mockWorksheetObject;
|
||||||
|
|
||||||
private $mockCacheController;
|
private $mockCacheController;
|
||||||
|
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
@ -29,10 +26,7 @@ class AutoFilterTest extends \PHPUnit_Framework_TestCase
|
||||||
->method('getCellCacheController')
|
->method('getCellCacheController')
|
||||||
->will($this->returnValue($this->mockCacheController));
|
->will($this->returnValue($this->mockCacheController));
|
||||||
|
|
||||||
$this->testAutoFilterObject = new AutoFilter(
|
$this->testAutoFilterObject = new AutoFilter($this->testInitialRange, $this->mockWorksheetObject);
|
||||||
$this->testInitialRange,
|
|
||||||
$this->mockWorksheetObject
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testToString()
|
public function testToString()
|
||||||
|
|
Loading…
Reference in New Issue