Commit 8beb93ea authored by Daniel Hürtgen's avatar Daniel Hürtgen

FEATURE: Switched base TestCase class to namespaced one

parent 17828585
......@@ -35,7 +35,7 @@
},
"require-dev": {
"composer/composer": "^1.4",
"phpunit/phpunit": "^4.5 || ^5.0.5",
"phpunit/phpunit": "^4.8.36 || ^5.0.5",
"phpmd/phpmd": "^2.6"
},
"extra": {
......
......@@ -23,11 +23,12 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\Integration\PHPCodeSniffer\S
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Finder;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Factory;
use PHPUnit\Framework\TestCase;
/**
* Integration test case for class \Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Finder
*/
class FinderTest extends \PHPUnit_Framework_TestCase
class FinderTest extends TestCase
{
/**
* @var Finder
......
......@@ -24,12 +24,13 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\Unit\PHPCodeSniffer\Standard
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Finder;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Factory;
use Higidi\ComposerPhpCSStandardsPlugin\Symfony\Finder\Factory as SymfonyFinderFactory;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Finder\Finder as SymfonyFinder;
/**
* Test case for class \Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Finder
*/
class FinderTest extends \PHPUnit_Framework_TestCase
class FinderTest extends TestCase
{
/**
* @var Finder
......
......@@ -23,12 +23,12 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\Unit\PHPCodeSniffer\Standard
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Factory;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Factory as StandardFactory;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Standard;
use PHPUnit\Framework\TestCase;
/**
* Test case for class \Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\StandardsFactory
*/
class FactoryTest extends \PHPUnit_Framework_TestCase
class FactoryTest extends TestCase
{
/**
* @var Factory
......
......@@ -22,11 +22,12 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\Unit\PHPCodeSniffer\Standard
*/
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Factory;
use PHPUnit\Framework\TestCase;
/**
* Test case for class \Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Factory
*/
class FactoryTest extends \PHPUnit_Framework_TestCase
class FactoryTest extends TestCase
{
/**
* @var Factory
......
......@@ -22,11 +22,12 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\Unit\PHPCodeSniffer\Standard
*/
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Standard;
use PHPUnit\Framework\TestCase;
/**
* Test case for class \Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Standard
*/
class StandardTest extends \PHPUnit_Framework_TestCase
class StandardTest extends TestCase
{
/**
* @dataProvider differentStandards
......
......@@ -22,11 +22,12 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\Unit\Symfony\Finder;
*/
use Higidi\ComposerPhpCSStandardsPlugin\Symfony\Finder\Factory;
use PHPUnit\Framework\TestCase;
/**
* Test case for class \Higidi\ComposerPhpCSStandardsPlugin\Symfony\Finder\Factory
*/
class FactoryTest extends \PHPUnit_Framework_TestCase
class FactoryTest extends TestCase
{
public function testCreateFinder()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment