Skip to content

Commit

Permalink
update to phpspreadsheet 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erelke committed Jun 5, 2019
1 parent 967e084 commit 034ce98
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"php": ">=7.0",
"symfony/framework-bundle": "~3.2|~4.0",
"twig/twig": "~2.0",
"phpoffice/phpspreadsheet": "~1.6.0"
"phpoffice/phpspreadsheet": "~1.7.0"
},
"require-dev": {
"symfony/symfony": "~3.4|~4.0",
Expand Down
5 changes: 4 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
bootstrap="./vendor/autoload.php"
>
<php>
<env name="SYMFONY_PHPUNIT_VERSION" value="6.5"/>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="AppKernel" />
<env name="SYMFONY_PHPUNIT_VERSION" value="7.5.3"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
</php>

<testsuites>
Expand Down
10 changes: 6 additions & 4 deletions tests/Functional/BaseFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
use MewesK\TwigSpreadsheetBundle\Helper\Filesystem;
use MewesK\TwigSpreadsheetBundle\Tests\Functional\Fixtures\TestAppKernel;
use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Reader\Exception;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use Symfony\Bundle\FrameworkBundle\Client;
use Symfony\Bundle\FrameworkBundle\Routing\Router;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\Filesystem\Exception\IOException;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

Expand All @@ -33,7 +35,7 @@ abstract class BaseFunctionalTest extends WebTestCase
/**
* {@inheritdoc}
*
* @throws \Symfony\Component\Filesystem\Exception\IOException
* @throws IOException
*/
public static function setUpBeforeClass()
{
Expand Down Expand Up @@ -66,7 +68,7 @@ protected static function createKernel(array $options = [])
}

/**
* @throws \Symfony\Component\Filesystem\Exception\IOException
* @throws IOException
*/
public function setUp()
{
Expand All @@ -79,8 +81,8 @@ public function setUp()
* @param array $routeParameters
* @param string $format
*
* @throws \Symfony\Component\Filesystem\Exception\IOException
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws IOException
* @throws Exception
*
* @return Spreadsheet
*/
Expand Down

0 comments on commit 034ce98

Please sign in to comment.