Skip to content

Commit

Permalink
chore: bump to PHPSpreadsheet 2.0 (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored Jan 29, 2024
1 parent 0e5ca8c commit 4c8456e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"nyholm/nsa": "^1.1",
"nyholm/symfony-bundle-test": "^3.0",
"openspout/openspout": "^4.0",
"phpoffice/phpspreadsheet": "^1.29",
"phpoffice/phpspreadsheet": "^2.0",
"phpunit/phpunit": "^10.5",
"sigwin/infra": "~1.9.0",
"symfony/console": "^6.4 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/PhpSpreadsheet/Test/RowIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function testCanPerformCurrentCorrectly(): void
{
$iterator = new RowIterator($this->mockIterator([
'valid' => ['count' => 0, 'params' => null, 'return' => false],
'current' => ['count' => 1, 'params' => null, 'return' => new Row($this->getMockBuilder(Worksheet::class)->getMock())],
'current' => ['count' => 1, 'params' => null, 'return' => new Row(new Worksheet())],
'prev' => ['count' => 0, 'params' => null],
'next' => ['count' => 0, 'params' => null],
]));
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/PhpSpreadsheet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": "^8.2",
"phpoffice/phpspreadsheet": "^1.29",
"phpoffice/phpspreadsheet": "^2.0",
"sigwin/xezilaires": "^1.0"
},
"require-dev": {
Expand Down
3 changes: 0 additions & 3 deletions src/Bridge/Spout/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"symfony/property-access": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0"
},
"conflict": {
"nikic/php-parser": "< 4.14"
},
"suggest": {
"sigwin/xezilaires-symfony": "Symfony bundle integration, bin/xezilaires use"
},
Expand Down

0 comments on commit 4c8456e

Please sign in to comment.