Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase

This commit is contained in:
Gabriel Caruso
2017-11-15 08:29:42 +01:00
committed by Jaap van Otterdijk
parent 03b7048a61
commit c006d4a2d5
32 changed files with 77 additions and 36 deletions
@@ -12,10 +12,12 @@
namespace phpDocumentor\Reflection;
use PHPUnit\Framework\TestCase;
/**
* @coversNothing
*/
final class DocblocksWithAnnotationsTest extends \PHPUnit_Framework_TestCase
final class DocblocksWithAnnotationsTest extends TestCase
{
public function testDocblockWithAnnotations()
{
@@ -16,11 +16,12 @@ use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tags\See;
use PHPUnit\Framework\TestCase;
/**
* @coversNothing
*/
class InterpretingDocBlocksTest extends \PHPUnit_Framework_TestCase
class InterpretingDocBlocksTest extends TestCase
{
public function testInterpretingASimpleDocBlock()
{
@@ -12,10 +12,16 @@
namespace phpDocumentor\Reflection;
use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tags\See;
use PHPUnit\Framework\TestCase;
/**
* @coversNothing
*/
class ReconstitutingADocBlockTest extends \PHPUnit_Framework_TestCase
class ReconstitutingADocBlockTest extends TestCase
{
public function testReconstituteADocBlock()
{
+3 -1
View File
@@ -14,11 +14,13 @@ namespace phpDocumentor\Reflection;
use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tags\See;
use PHPUnit\Framework\TestCase;
/**
* @coversNothing
*/
class UsingTagsTest extends \PHPUnit_Framework_TestCase
class UsingTagsTest extends TestCase
{
public function testAddingYourOwnTagUsingAStaticMethodAsFactory()
{