@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\Factory\RemoteObject\Adapter; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\Factory\RemoteObject\Adapter\BaseAdapter; |
| 10 | 9 | use Zend\Server\Client; |
@@ -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 |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use ProxyManagerTestAsset\ClassWithMethodWithByRefVariadicFunction; |
| 24 | 24 | use ProxyManagerTestAsset\ClassWithMethodWithVariadicFunction; |
| 25 | 25 | use ProxyManagerTestAsset\ClassWithParentHint; |
| 26 | -use ProxyManagerTestAsset\ClassWithPublicArrayProperty; |
|
| 27 | 26 | use ProxyManagerTestAsset\ClassWithPublicArrayPropertyAccessibleViaMethod; |
| 28 | 27 | use ProxyManagerTestAsset\ClassWithPublicProperties; |
| 29 | 28 | use ProxyManagerTestAsset\ClassWithSelfHint; |
@@ -751,7 +751,7 @@ |
||
| 751 | 751 | } |
| 752 | 752 | |
| 753 | 753 | /** |
| 754 | - * @param mixed $expected |
|
| 754 | + * @param string $expected |
|
| 755 | 755 | * @param mixed $actual |
| 756 | 756 | */ |
| 757 | 757 | private static function assertByRefVariableValueSame($expected, & $actual) : void |
@@ -6,7 +6,6 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | use Generator; |
| 8 | 8 | use PHPUnit\Framework\ExpectationFailedException; |
| 9 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 10 | 9 | use PHPUnit\Framework\TestCase; |
| 11 | 10 | use ProxyManager\Factory\AccessInterceptorValueHolderFactory; |
| 12 | 11 | use ProxyManager\Generator\ClassGenerator; |
@@ -25,7 +24,6 @@ discard block |
||
| 25 | 24 | use ProxyManagerTestAsset\ClassWithMethodWithByRefVariadicFunction; |
| 26 | 25 | use ProxyManagerTestAsset\ClassWithMethodWithVariadicFunction; |
| 27 | 26 | use ProxyManagerTestAsset\ClassWithParentHint; |
| 28 | -use ProxyManagerTestAsset\ClassWithPublicArrayProperty; |
|
| 29 | 27 | use ProxyManagerTestAsset\ClassWithPublicArrayPropertyAccessibleViaMethod; |
| 30 | 28 | use ProxyManagerTestAsset\ClassWithPublicProperties; |
| 31 | 29 | use ProxyManagerTestAsset\ClassWithSelfHint; |
@@ -872,6 +872,7 @@ |
||
| 872 | 872 | * array $params, |
| 873 | 873 | * ?Closure $initializer |
| 874 | 874 | * ) : bool |
| 875 | + * @param Mock $initializerMatcher |
|
| 875 | 876 | */ |
| 876 | 877 | private function createInitializer(string $className, object $realInstance, ?Mock $initializerMatcher = null) : Closure |
| 877 | 878 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\Generator\Util; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\Generator\Util\ClassGeneratorUtils; |
| 10 | 9 | use ProxyManagerTestAsset\BaseClass; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\AccessInterceptor\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\AccessInterceptor\MethodGenerator\SetMethodPrefixInterceptor; |
| 10 | 9 | use Zend\Code\Generator\PropertyGenerator; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\AccessInterceptor\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\AccessInterceptor\MethodGenerator\SetMethodSuffixInterceptor; |
| 10 | 9 | use Zend\Code\Generator\PropertyGenerator; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\AccessInterceptorScopeLocalizer\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\AccessInterceptorScopeLocalizer\MethodGenerator\MagicClone; |
| 10 | 9 | use ProxyManagerTestAsset\ClassWithMagicMethods; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\AccessInterceptorScopeLocalizer\MethodGenerator; |
| 6 | 6 | |
| 7 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 8 | 7 | use PHPUnit\Framework\TestCase; |
| 9 | 8 | use ProxyManager\ProxyGenerator\AccessInterceptorScopeLocalizer\MethodGenerator\MagicGet; |
| 10 | 9 | use ProxyManagerTestAsset\ClassWithMagicMethods; |