Update dev dependencies

This commit is contained in:
Adrien Crivelli 2017-01-23 16:02:59 +09:00
parent fe73b2d402
commit 9e835676a6
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
6 changed files with 488 additions and 232 deletions

View File

@ -30,13 +30,12 @@
"ext-xmlwriter": "*"
},
"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",
"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": {
"ext-zip": "Required to handle .xlsx .ods or .gnumeric files",

697
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,9 @@ 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->getMockBuilder(Worksheet::class)
->setMethods(['getStyle', 'getNumberFormat', 'setFormatCode', 'getCellCacheController'])
->getMock();
$cache = $this->getMockBuilder(Memory::class)
->disableOriginalConstructor()
->getMock();

View File

@ -15,10 +15,6 @@ class RuleTest extends \PHPUnit_Framework_TestCase
->disableOriginalConstructor()
->getMock();
$this->mockAutoFilterColumnObject->expects($this->any())
->method('testColumnInRange')
->will($this->returnValue(3));
$this->testAutoFilterRuleObject = new Column\Rule(
$this->mockAutoFilterColumnObject
);

View File

@ -24,9 +24,6 @@ class ColumnIteratorTest extends \PHPUnit_Framework_TestCase
$this->mockWorksheet->expects($this->any())
->method('getHighestColumn')
->will($this->returnValue('E'));
$this->mockWorksheet->expects($this->any())
->method('current')
->will($this->returnValue($this->mockColumn));
}
public function testIteratorFullRange()

View File

@ -24,9 +24,6 @@ class RowIteratorTest extends \PHPUnit_Framework_TestCase
$this->mockWorksheet->expects($this->any())
->method('getHighestRow')
->will($this->returnValue(5));
$this->mockWorksheet->expects($this->any())
->method('current')
->will($this->returnValue($this->mockRow));
}
public function testIteratorFullRange()