This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Update to phpunit-bridge 4.0

  • Loading branch information...
carusogabriel committed Nov 6, 2017
1 parent 8b02ef7 commit c3acbe810e0a3cf530d1e65d5a01b7762083fbfc
@@ -4,10 +4,11 @@
use Blackfire\Bridge\PhpUnit\TestCaseTrait as BlackfireTestCaseTrait;
use Blackfire\Profile;
use PHPUnit\Framework\TestCase;
use Sami\Sami;
use Symfony\Component\Filesystem\Filesystem;
class IntegrationTest extends \PHPUnit_Framework_TestCase
class IntegrationTest extends TestCase
{
use BlackfireTestCaseTrait;
@@ -11,12 +11,13 @@
namespace Sami\Tests\Parser;
use PHPUnit\Framework\TestCase;
use Sami\Parser\ClassTraverser;
use Sami\Project;
use Sami\Reflection\ClassReflection;
use Sami\Store\ArrayStore;
class ClassTraverserTest extends \PHPUnit_Framework_TestCase
class ClassTraverserTest extends TestCase
{
/**
* @dataProvider getTraverseOrderClasses
@@ -11,9 +11,10 @@
namespace Sami\Tests\Parser\ClassVisitor;
use PHPUnit\Framework\TestCase;
use Sami\Parser\ClassVisitor\MethodClassVisitor;
class MethodClassVisitorTest extends \PHPUnit_Framework_TestCase
class MethodClassVisitorTest extends TestCase
{
public function testAddsMethods()
{
@@ -11,9 +11,10 @@
namespace Sami\Tests\Parser\ClassVisitor;
use PHPUnit\Framework\TestCase;
use Sami\Parser\ClassVisitor\PropertyClassVisitor;
class PropertyClassVisitorTest extends \PHPUnit_Framework_TestCase
class PropertyClassVisitorTest extends TestCase
{
public function testAddsProperties()
{
@@ -11,10 +11,11 @@
namespace Sami\Tests\Parser;
use PHPUnit\Framework\TestCase;
use Sami\Parser\DocBlockParser;
use Sami\Parser\Node\DocBlockNode;
class DocBlockParserTest extends \PHPUnit_Framework_TestCase
class DocBlockParserTest extends TestCase
{
/**
* @dataProvider getParseTests
@@ -8,6 +8,7 @@
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\NodeTraverser;
use PhpParser\PrettyPrinter\Standard;
use PHPUnit\Framework\TestCase;
use Sami\Parser\DocBlockParser;
use Sami\Parser\Filter\TrueFilter;
use Sami\Parser\NodeVisitor;
@@ -21,7 +22,7 @@
/**
* @author Tomasz Struczyński <t.struczynski@gmail.com>
*/
class NodeVisitorTest extends \PHPUnit_Framework_TestCase
class NodeVisitorTest extends TestCase
{
/**
* @dataProvider getMethodTypehints
@@ -3,12 +3,13 @@
namespace Sami\Tests\Parser;
use PhpParser\PrettyPrinter\Standard as PrettyPrinter;
use PHPUnit\Framework\TestCase;
use Sami\Parser\DocBlockParser;
use Sami\Parser\Filter\TrueFilter;
use Sami\Parser\ParserContext;
use Sami\Reflection\ClassReflection;
class ParserContextTest extends \PHPUnit_Framework_TestCase
class ParserContextTest extends TestCase
{
public function testLeaveClassBeforeEnter()
{
@@ -2,12 +2,13 @@
namespace Sami\Tests;
use PHPUnit\Framework\TestCase;
use Sami\Project;
use Sami\Reflection\ClassReflection;
use Sami\Store\ArrayStore;
use Sami\Version\Version;
class ProjectTest extends \PHPUnit_Framework_TestCase
class ProjectTest extends TestCase
{
public function testSwitchVersion()
{
@@ -2,9 +2,10 @@
namespace Sami\Tests\Reflection;
use PHPUnit\Framework\TestCase;
use Sami\Reflection\ClassReflection;
class ClassReflectionTest extends \PHPUnit_Framework_TestCase
class ClassReflectionTest extends TestCase
{
public function testIsPhpClass()
{
@@ -2,9 +2,10 @@
namespace Sami\Tests\Reflection;
use PHPUnit\Framework\TestCase;
use Sami\Reflection\MethodReflection;
class MethodReflectionTest extends \PHPUnit_Framework_TestCase
class MethodReflectionTest extends TestCase
{
public function testSetGetModifiers()
{
@@ -2,9 +2,10 @@
namespace Sami\Tests\Reflection;
use PHPUnit\Framework\TestCase;
use Sami\Reflection\PropertyReflection;
class PropertyReflectionTest extends \PHPUnit_Framework_TestCase
class PropertyReflectionTest extends TestCase
{
public function testSetGetModifiers()
{
View
@@ -2,6 +2,7 @@
namespace Sami\Tests;
use PHPUnit\Framework\TestCase;
use Sami\Project;
use Sami\Reflection\ClassReflection;
use Sami\Store\ArrayStore;
@@ -10,7 +11,7 @@
/**
* @author Tomasz Struczyński <t.struczynski@gmail.com>
*/
class TreeTest extends \PHPUnit_Framework_TestCase
class TreeTest extends TestCase
{
public function testNamespaces()
{
View
@@ -26,7 +26,7 @@
"blackfire/php-sdk": "^1.5.18"
},
"require-dev": {
"symfony/phpunit-bridge": "~3.2"
"symfony/phpunit-bridge": "~4.0"
},
"autoload": {
"psr-4": { "Sami\\": "Sami/" }
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit c3acbe8

Please sign in to comment.