Skip to content

Commit

Permalink
Merge pull request #142 from Ocramius/hotfix/duplication-removal
Browse files Browse the repository at this point in the history
Minor code duplication removal
  • Loading branch information
Ocramius committed Feb 6, 2014
2 parents 96d5e24 + 3d90db2 commit c870510
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* and is licensed under the MIT license.
*/

namespace ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator;
namespace ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator;

use ReflectionClass;
use ReflectionProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@

namespace ProxyManager\ProxyGenerator;

use ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator\Constructor;

use ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\CallInitializer;
use ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\Constructor;
use ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\GetProxyInitializer;
use ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\InitializeProxy;
use ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\IsProxyInitialized;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@

use ProxyManager\ProxyGenerator\AccessInterceptor\MethodGenerator\MagicWakeup;

use ProxyManager\ProxyGenerator\LazyLoadingValueHolder\MethodGenerator\Constructor;
use ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator\Constructor;

use ProxyManager\ProxyGenerator\LazyLoadingValueHolder\MethodGenerator\GetProxyInitializer;
use ProxyManager\ProxyGenerator\LazyLoadingValueHolder\MethodGenerator\InitializeProxy;
use ProxyManager\ProxyGenerator\LazyLoadingValueHolder\MethodGenerator\IsProxyInitialized;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
* and is licensed under the MIT license.
*/

namespace ProxyManagerTest\ProxyGenerator\LazyLoadingGhost\MethodGenerator;
namespace ProxyManagerTest\ProxyGenerator\LazyLoading\MethodGenerator;

use PHPUnit_Framework_TestCase;
use ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\Constructor;
use ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator\Constructor;
use ReflectionClass;

/**
* Tests for {@see \ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\Constructor}
* Tests for {@see \ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator\Constructor}
*
* @author Marco Pivetta <ocramius@gmail.com>
* @license MIT
*/
class ConstructorTest extends PHPUnit_Framework_TestCase
{
/**
* @covers \ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\Constructor::__construct
* @covers \ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator\Constructor::__construct
*/
public function testBodyStructure()
{
Expand All @@ -50,7 +50,7 @@ public function testBodyStructure()
}

/**
* @covers \ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator\Constructor::__construct
* @covers \ProxyManager\ProxyGenerator\LazyLoading\MethodGenerator\Constructor::__construct
*/
public function testBodyStructureWithoutPublicProperties()
{
Expand Down

This file was deleted.

0 comments on commit c870510

Please sign in to comment.