@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\RemoteObject\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\RemoteObject\MethodGenerator\MagicIsset; |
| 10 | 9 | use ProxyManagerTestAsset\EmptyClass; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\RemoteObject\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\RemoteObject\MethodGenerator\MagicSet; |
| 10 | 9 | use ProxyManagerTestAsset\EmptyClass; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\RemoteObject\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\RemoteObject\MethodGenerator\MagicUnset; |
| 10 | 9 | use ProxyManagerTestAsset\EmptyClass; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\RemoteObject\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\RemoteObject\MethodGenerator\RemoteObjectMethod; |
| 10 | 9 | use ProxyManagerTestAsset\BaseClass; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\RemoteObject\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\RemoteObject\MethodGenerator\StaticProxyConstructor; |
| 10 | 9 | use ProxyManagerTestAsset\ClassWithMixedProperties; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\ValueHolder\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\ValueHolder\MethodGenerator\Constructor; |
| 10 | 9 | use ProxyManagerTestAsset\ClassWithMixedProperties; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\ValueHolder\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\ValueHolder\MethodGenerator\MagicSleep; |
| 10 | 9 | use ProxyManagerTestAsset\EmptyClass; |
@@ -631,7 +631,7 @@ |
||
| 631 | 631 | } |
| 632 | 632 | |
| 633 | 633 | /** |
| 634 | - * @param mixed $expected |
|
| 634 | + * @param string $expected |
|
| 635 | 635 | * @param mixed $actual |
| 636 | 636 | */ |
| 637 | 637 | private static function assertByRefVariableValueSame($expected, & $actual) : void |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use ProxyManager\Proxy\AccessInterceptorValueHolderInterface; |
| 13 | 13 | use ProxyManagerTest\Assert; |
| 14 | 14 | use ProxyManagerTestAsset\BaseClass; |
| 15 | -use ProxyManagerTestAsset\BaseInterface; |
|
| 16 | 15 | use ProxyManagerTestAsset\CallableInterface; |
| 17 | 16 | use ProxyManagerTestAsset\ClassWithCounterConstructor; |
| 18 | 17 | use ProxyManagerTestAsset\ClassWithDynamicArgumentsMethod; |
@@ -826,6 +826,7 @@ |
||
| 826 | 826 | * array, |
| 827 | 827 | * ?Closure |
| 828 | 828 | * ) : bool |
| 829 | + * @param Mock $initializerMatcher |
|
| 829 | 830 | */ |
| 830 | 831 | private function createInitializer(string $className, object $realInstance, ?Mock $initializerMatcher = null) : Closure |
| 831 | 832 | { |