Skip to content

Commit 034ce98

Browse files
committed
update to phpspreadsheet 1.7.0
1 parent 967e084 commit 034ce98

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=7.0",
2020
"symfony/framework-bundle": "~3.2|~4.0",
2121
"twig/twig": "~2.0",
22-
"phpoffice/phpspreadsheet": "~1.6.0"
22+
"phpoffice/phpspreadsheet": "~1.7.0"
2323
},
2424
"require-dev": {
2525
"symfony/symfony": "~3.4|~4.0",

phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
bootstrap="./vendor/autoload.php"
77
>
88
<php>
9-
<env name="SYMFONY_PHPUNIT_VERSION" value="6.5"/>
9+
<ini name="error_reporting" value="-1" />
10+
<server name="KERNEL_CLASS" value="AppKernel" />
11+
<env name="SYMFONY_PHPUNIT_VERSION" value="7.5.3"/>
12+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
1013
</php>
1114

1215
<testsuites>

tests/Functional/BaseFunctionalTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
use MewesK\TwigSpreadsheetBundle\Helper\Filesystem;
66
use MewesK\TwigSpreadsheetBundle\Tests\Functional\Fixtures\TestAppKernel;
77
use PhpOffice\PhpSpreadsheet\IOFactory;
8+
use PhpOffice\PhpSpreadsheet\Reader\Exception;
89
use PhpOffice\PhpSpreadsheet\Spreadsheet;
910
use Symfony\Bundle\FrameworkBundle\Client;
1011
use Symfony\Bundle\FrameworkBundle\Routing\Router;
1112
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
13+
use Symfony\Component\Filesystem\Exception\IOException;
1214
use Symfony\Component\HttpFoundation\Request;
1315
use Symfony\Component\HttpFoundation\Response;
1416

@@ -33,7 +35,7 @@ abstract class BaseFunctionalTest extends WebTestCase
3335
/**
3436
* {@inheritdoc}
3537
*
36-
* @throws \Symfony\Component\Filesystem\Exception\IOException
38+
* @throws IOException
3739
*/
3840
public static function setUpBeforeClass()
3941
{
@@ -66,7 +68,7 @@ protected static function createKernel(array $options = [])
6668
}
6769

6870
/**
69-
* @throws \Symfony\Component\Filesystem\Exception\IOException
71+
* @throws IOException
7072
*/
7173
public function setUp()
7274
{
@@ -79,8 +81,8 @@ public function setUp()
7981
* @param array $routeParameters
8082
* @param string $format
8183
*
82-
* @throws \Symfony\Component\Filesystem\Exception\IOException
83-
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
84+
* @throws IOException
85+
* @throws Exception
8486
*
8587
* @return Spreadsheet
8688
*/

0 commit comments

Comments
 (0)