Update dev dependencies
This commit is contained in:
parent
fe73b2d402
commit
9e835676a6
|
@ -30,13 +30,12 @@
|
||||||
"ext-xmlwriter": "*"
|
"ext-xmlwriter": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"squizlabs/php_codesniffer": "2.*",
|
|
||||||
"phpunit/phpunit": "4.6.*",
|
|
||||||
"mikey179/vfsStream": "1.5.*",
|
|
||||||
"friendsofphp/php-cs-fixer": "^2.0",
|
|
||||||
"dompdf/dompdf": "^0.7.0",
|
"dompdf/dompdf": "^0.7.0",
|
||||||
"mpdf/mpdf": "^6.1",
|
"mpdf/mpdf": "^6.1",
|
||||||
"tecnickcom/tcpdf": "^6.2"
|
"tecnickcom/tcpdf": "^6.2",
|
||||||
|
"squizlabs/php_codesniffer": "^2.7",
|
||||||
|
"phpunit/phpunit": "^5.7",
|
||||||
|
"friendsofphp/php-cs-fixer": "^2.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-zip": "Required to handle .xlsx .ods or .gnumeric files",
|
"ext-zip": "Required to handle .xlsx .ods or .gnumeric files",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -41,7 +41,9 @@ 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(Worksheet::class, ['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController']);
|
$sheet = $this->getMockBuilder(Worksheet::class)
|
||||||
|
->setMethods(['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController'])
|
||||||
|
->getMock();
|
||||||
$cache = $this->getMockBuilder(Memory::class)
|
$cache = $this->getMockBuilder(Memory::class)
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
|
@ -15,10 +15,6 @@ class RuleTest extends \PHPUnit_Framework_TestCase
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
||||||
$this->mockAutoFilterColumnObject->expects($this->any())
|
|
||||||
->method('testColumnInRange')
|
|
||||||
->will($this->returnValue(3));
|
|
||||||
|
|
||||||
$this->testAutoFilterRuleObject = new Column\Rule(
|
$this->testAutoFilterRuleObject = new Column\Rule(
|
||||||
$this->mockAutoFilterColumnObject
|
$this->mockAutoFilterColumnObject
|
||||||
);
|
);
|
||||||
|
|
|
@ -24,9 +24,6 @@ class ColumnIteratorTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->mockWorksheet->expects($this->any())
|
$this->mockWorksheet->expects($this->any())
|
||||||
->method('getHighestColumn')
|
->method('getHighestColumn')
|
||||||
->will($this->returnValue('E'));
|
->will($this->returnValue('E'));
|
||||||
$this->mockWorksheet->expects($this->any())
|
|
||||||
->method('current')
|
|
||||||
->will($this->returnValue($this->mockColumn));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testIteratorFullRange()
|
public function testIteratorFullRange()
|
||||||
|
|
|
@ -24,9 +24,6 @@ class RowIteratorTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->mockWorksheet->expects($this->any())
|
$this->mockWorksheet->expects($this->any())
|
||||||
->method('getHighestRow')
|
->method('getHighestRow')
|
||||||
->will($this->returnValue(5));
|
->will($this->returnValue(5));
|
||||||
$this->mockWorksheet->expects($this->any())
|
|
||||||
->method('current')
|
|
||||||
->will($this->returnValue($this->mockRow));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testIteratorFullRange()
|
public function testIteratorFullRange()
|
||||||
|
|
Loading…
Reference in New Issue