diff --git a/src/Meritoo/Common/Test/Base/BaseTestCase.php b/src/Meritoo/Common/Test/Base/BaseTestCase.php index 8faaf42..6a92bbe 100644 --- a/src/Meritoo/Common/Test/Base/BaseTestCase.php +++ b/src/Meritoo/Common/Test/Base/BaseTestCase.php @@ -12,7 +12,7 @@ use DateTime; use Generator; use Meritoo\Common\Exception\Type\UnknownOopVisibilityTypeException; use Meritoo\Common\Type\OopVisibilityType; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use ReflectionClass; use ReflectionMethod; @@ -22,7 +22,7 @@ use ReflectionMethod; * @author Krzysztof Niziol * @copyright Meritoo.pl */ -abstract class BaseTestCase extends PHPUnit_Framework_TestCase +abstract class BaseTestCase extends TestCase { /** * Provides an empty value diff --git a/tests/Meritoo/Common/Test/Exception/Base/UnknownTypeExceptionTest.php b/tests/Meritoo/Common/Test/Exception/Base/UnknownTypeExceptionTest.php index 49739aa..bda5702 100644 --- a/tests/Meritoo/Common/Test/Exception/Base/UnknownTypeExceptionTest.php +++ b/tests/Meritoo/Common/Test/Exception/Base/UnknownTypeExceptionTest.php @@ -10,7 +10,7 @@ namespace Meritoo\Common\Test\Exception\Base; use Meritoo\Common\Exception\Base\UnknownTypeException; use Meritoo\Common\Type\Base\BaseType; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * Tests of the exception used while type of something is unknown @@ -18,7 +18,7 @@ use PHPUnit_Framework_TestCase; * @author Krzysztof Niziol * @copyright Meritoo.pl */ -class UnknownTypeExceptionTest extends PHPUnit_Framework_TestCase +class UnknownTypeExceptionTest extends TestCase { public function testWithoutException() { diff --git a/tests/Meritoo/Common/Test/Type/Base/BaseTypeTest.php b/tests/Meritoo/Common/Test/Type/Base/BaseTypeTest.php index 2fb7576..0169ff3 100644 --- a/tests/Meritoo/Common/Test/Type/Base/BaseTypeTest.php +++ b/tests/Meritoo/Common/Test/Type/Base/BaseTypeTest.php @@ -10,7 +10,7 @@ namespace Meritoo\Common\Test\Type\Base; use Generator; use Meritoo\Common\Type\Base\BaseType; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * Tests of the base / abstract type of something @@ -18,7 +18,7 @@ use PHPUnit_Framework_TestCase; * @author Krzysztof Niziol * @copyright Meritoo.pl */ -class BaseTypeTest extends PHPUnit_Framework_TestCase +class BaseTypeTest extends TestCase { /** * @param BaseType $type Type of something diff --git a/tests/Meritoo/Common/Test/Utilities/ArraysTest.php b/tests/Meritoo/Common/Test/Utilities/ArraysTest.php index 40fbe9e..db135db 100644 --- a/tests/Meritoo/Common/Test/Utilities/ArraysTest.php +++ b/tests/Meritoo/Common/Test/Utilities/ArraysTest.php @@ -9,7 +9,7 @@ namespace Meritoo\Common\Test\Utilities; use Meritoo\Common\Utilities\Arrays; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * Tests of the useful arrays methods @@ -17,7 +17,7 @@ use PHPUnit_Framework_TestCase; * @author Krzysztof Niziol * @copyright Meritoo.pl */ -class ArraysTest extends PHPUnit_Framework_TestCase +class ArraysTest extends TestCase { private $simpleArray; private $simpleArrayWithKeys; diff --git a/tests/Meritoo/Common/Test/Utilities/BundleTest.php b/tests/Meritoo/Common/Test/Utilities/BundleTest.php index ed6ee18..39d002c 100644 --- a/tests/Meritoo/Common/Test/Utilities/BundleTest.php +++ b/tests/Meritoo/Common/Test/Utilities/BundleTest.php @@ -9,7 +9,7 @@ namespace Meritoo\Common\Test\Utilities; use Meritoo\Common\Utilities\Bundle; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * Tests of the useful methods for bundle @@ -17,7 +17,7 @@ use PHPUnit_Framework_TestCase; * @author Krzysztof Niziol * @copyright Meritoo.pl */ -class BundleTest extends PHPUnit_Framework_TestCase +class BundleTest extends TestCase { public function testGetBundleViewPathEmptyPathAndBundle() { diff --git a/tests/Meritoo/Common/Test/Utilities/RegexTest.php b/tests/Meritoo/Common/Test/Utilities/RegexTest.php index da76e8f..429bb27 100644 --- a/tests/Meritoo/Common/Test/Utilities/RegexTest.php +++ b/tests/Meritoo/Common/Test/Utilities/RegexTest.php @@ -8,13 +8,15 @@ namespace Meritoo\Common\Utilities; +use PHPUnit\Framework\TestCase; + /** * Tests of the useful regular expressions methods * * @author Krzysztof Niziol * @copyright Meritoo.pl */ -class RegexTest extends \PHPUnit_Framework_TestCase +class RegexTest extends TestCase { private $simpleText; diff --git a/tests/Meritoo/Common/Test/Utilities/XmlTest.php b/tests/Meritoo/Common/Test/Utilities/XmlTest.php index 80fa091..168a81e 100644 --- a/tests/Meritoo/Common/Test/Utilities/XmlTest.php +++ b/tests/Meritoo/Common/Test/Utilities/XmlTest.php @@ -9,7 +9,7 @@ namespace Meritoo\Common\Test\Utilities; use Meritoo\Common\Utilities\Xml; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use SimpleXMLElement; /** @@ -18,7 +18,7 @@ use SimpleXMLElement; * @author Krzysztof Niziol * @copyright Meritoo.pl */ -class XmlTest extends PHPUnit_Framework_TestCase +class XmlTest extends TestCase { private $simpleXml; private $advancedXml;