Fix indentation as suggested by Scrunitizer

This commit is contained in:
Adrien Crivelli 2017-01-05 12:26:20 +09:00
parent e9d03cc6d3
commit ec928d393f
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
12 changed files with 51 additions and 64 deletions

View File

@ -52,10 +52,7 @@ class AdvancedValueBinderTest extends \PHPUnit_Framework_TestCase
*/
public function testCurrency($value, $valueBinded, $format, $thousandsSeparator, $decimalSeparator, $currencyCode)
{
$sheet = $this->getMock(
Worksheet::class,
['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController']
);
$sheet = $this->getMock(Worksheet::class, ['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController']);
$cache = $this->getMockBuilder(Memory::class)
->disableOriginalConstructor()
->getMock();

View File

@ -7,7 +7,6 @@ use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column;
class RuleTest extends \PHPUnit_Framework_TestCase
{
private $testAutoFilterRuleObject;
private $mockAutoFilterColumnObject;
public function setUp()

View File

@ -20,10 +20,7 @@ class ColumnTest extends \PHPUnit_Framework_TestCase
->method('testColumnInRange')
->will($this->returnValue(3));
$this->testAutoFilterColumnObject = new AutoFilter\Column(
$this->testInitialColumn,
$this->mockAutoFilterObject
);
$this->testAutoFilterColumnObject = new AutoFilter\Column($this->testInitialColumn, $this->mockAutoFilterObject);
}
public function testGetColumnIndex()

View File

@ -10,11 +10,8 @@ use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column;
class AutoFilterTest extends \PHPUnit_Framework_TestCase
{
private $testInitialRange = 'H2:O256';
private $testAutoFilterObject;
private $mockWorksheetObject;
private $mockCacheController;
public function setUp()
@ -29,10 +26,7 @@ class AutoFilterTest extends \PHPUnit_Framework_TestCase
->method('getCellCacheController')
->will($this->returnValue($this->mockCacheController));
$this->testAutoFilterObject = new AutoFilter(
$this->testInitialRange,
$this->mockWorksheetObject
);
$this->testAutoFilterObject = new AutoFilter($this->testInitialRange, $this->mockWorksheetObject);
}
public function testToString()