Merge branch 'master' into feature/class-instead-of-namespace

This commit is contained in:
Fabri Di Napoli
2017-03-09 10:35:23 +01:00
39 changed files with 240 additions and 249 deletions

View File

@@ -3,8 +3,9 @@
namespace DesignPatterns\More\Delegation\Tests;
use DesignPatterns\More\Delegation;
use PHPUnit\Framework\TestCase;
class DelegationTest extends \PHPUnit_Framework_TestCase
class DelegationTest extends TestCase
{
public function testHowTeamLeadWriteCode()
{

View File

@@ -5,8 +5,9 @@ namespace DesignPatterns\More\EAV\Tests;
use DesignPatterns\More\EAV\Attribute;
use DesignPatterns\More\EAV\Entity;
use DesignPatterns\More\EAV\Value;
use PHPUnit\Framework\TestCase;
class EAVTest extends \PHPUnit_Framework_TestCase
class EAVTest extends TestCase
{
public function testCanAddAttributeToEntity()
{

View File

@@ -5,8 +5,9 @@ namespace DesignPatterns\More\Repository\Tests;
use DesignPatterns\More\Repository\MemoryStorage;
use DesignPatterns\More\Repository\Post;
use DesignPatterns\More\Repository\PostRepository;
use PHPUnit\Framework\TestCase;
class Repository extends \PHPUnit_Framework_TestCase
class Repository extends TestCase
{
public function testCanPersistAndFindPost()
{

View File

@@ -4,7 +4,7 @@ namespace DesignPatterns\More\ServiceLocator\Tests;
use DesignPatterns\More\ServiceLocator\LogService;
use DesignPatterns\More\ServiceLocator\ServiceLocator;
use PHPUnit_Framework_TestCase as TestCase;
use PHPUnit\Framework\TestCase;
class ServiceLocatorTest extends TestCase
{