Support PHPUnit 6

This commit is contained in:
Gabriel Caruso authored and Adrien Loison committed 2017-11-27 00:24:13 +01:00
1 parent cd0831ea8e
commit 0efdf48119
41 files changed
+88 -43

No files matched your search

@@ -2,10 +2,12 @@
namespace Box\Spout\Common\Helper;
use PHPUnit\Framework\TestCase;
/**
* Class CellTypeHelperTest
*/
class CellTypeHelperTest extends \PHPUnit_Framework_TestCase
class CellTypeHelperTest extends TestCase
{
/**
* @return array
@@ -4,11 +4,12 @@ namespace Box\Spout\Common\Helper;
use Box\Spout\Common\Exception\EncodingConversionException;
use Box\Spout\TestUsingResource;
use PHPUnit\Framework\TestCase;
/**
* Class EncodingHelperTest
*/
class EncodingHelperTest extends \PHPUnit_Framework_TestCase
class EncodingHelperTest extends TestCase
{
use TestUsingResource;
@@ -3,11 +3,12 @@
namespace Box\Spout\Common\Helper\Escaper;
use Box\Spout\Common\Helper\Escaper;
use PHPUnit\Framework\TestCase;
/**
* Class ODSTest
*/
class ODSTest extends \PHPUnit_Framework_TestCase
class ODSTest extends TestCase
{
/**
* @return array
@@ -3,11 +3,12 @@
namespace Box\Spout\Common\Helper\Escaper;
use Box\Spout\Common\Helper\Escaper;
use PHPUnit\Framework\TestCase;
/**
* Class XLSXTest
*/
class XLSXTest extends \PHPUnit_Framework_TestCase
class XLSXTest extends TestCase
{
/**
* @return array
@@ -3,11 +3,12 @@
namespace Box\Spout\Common\Helper;
use Box\Spout\Common\Exception\IOException;
use PHPUnit\Framework\TestCase;
/**
* Class FileSystemHelperTest
*/
class FileSystemHelperTest extends \PHPUnit_Framework_TestCase
class FileSystemHelperTest extends TestCase
{
/** @var \Box\Spout\Writer\XLSX\Helper\FileSystemHelper */
protected $fileSystemHelper;