Completed
Push — master ( dfc740...730fa0 )
by Marco
14s queued 10s
created
tests/ProxyManagerTest/ProxyGenerator/Util/UnsetPropertiesGeneratorTest.php 2 patches
Doc Comments   -13 removed lines patch added patch discarded remove patch
@@ -89,16 +89,3 @@
 block discarded – undo
89 89
             ClassWithMixedTypedProperties::class => [
90 90
                 ClassWithMixedTypedProperties::class,
91 91
                 <<<'PHP'
92
-unset($bar->publicUnTypedProperty, $bar->publicUnTypedPropertyWithoutDefaultValue, $bar->publicBoolProperty, $bar->publicNullableBoolProperty, $bar->publicIntProperty, $bar->publicNullableIntProperty, $bar->publicFloatProperty, $bar->publicNullableFloatProperty, $bar->publicStringProperty, $bar->publicNullableStringProperty, $bar->publicArrayProperty, $bar->publicNullableArrayProperty, $bar->publicIterableProperty, $bar->publicNullableIterableProperty, $bar->protectedUnTypedProperty, $bar->protectedUnTypedPropertyWithoutDefaultValue, $bar->protectedBoolProperty, $bar->protectedNullableBoolProperty, $bar->protectedIntProperty, $bar->protectedNullableIntProperty, $bar->protectedFloatProperty, $bar->protectedNullableFloatProperty, $bar->protectedStringProperty, $bar->protectedNullableStringProperty, $bar->protectedArrayProperty, $bar->protectedNullableArrayProperty, $bar->protectedIterableProperty, $bar->protectedNullableIterableProperty);
93
-
94
-\Closure::bind(function (\ProxyManagerTestAsset\ClassWithMixedTypedProperties $instance) {
95
-    unset($instance->privateUnTypedProperty, $instance->privateUnTypedPropertyWithoutDefaultValue, $instance->privateBoolProperty, $instance->privateNullableBoolProperty, $instance->privateIntProperty, $instance->privateNullableIntProperty, $instance->privateFloatProperty, $instance->privateNullableFloatProperty, $instance->privateStringProperty, $instance->privateNullableStringProperty, $instance->privateArrayProperty, $instance->privateNullableArrayProperty, $instance->privateIterableProperty, $instance->privateNullableIterableProperty);
96
-}, $bar, 'ProxyManagerTestAsset\\ClassWithMixedTypedProperties')->__invoke($bar);
97
-
98
-
99
-PHP,
100
-                'bar',
101
-            ],
102
-        ];
103
-    }
104
-}
Please login to merge, or discard this patch.
Unused Use Statements   -13 removed lines patch added patch discarded remove patch
@@ -89,16 +89,3 @@
 block discarded – undo
89 89
             ClassWithMixedTypedProperties::class => [
90 90
                 ClassWithMixedTypedProperties::class,
91 91
                 <<<'PHP'
92
-unset($bar->publicUnTypedProperty, $bar->publicUnTypedPropertyWithoutDefaultValue, $bar->publicBoolProperty, $bar->publicNullableBoolProperty, $bar->publicIntProperty, $bar->publicNullableIntProperty, $bar->publicFloatProperty, $bar->publicNullableFloatProperty, $bar->publicStringProperty, $bar->publicNullableStringProperty, $bar->publicArrayProperty, $bar->publicNullableArrayProperty, $bar->publicIterableProperty, $bar->publicNullableIterableProperty, $bar->protectedUnTypedProperty, $bar->protectedUnTypedPropertyWithoutDefaultValue, $bar->protectedBoolProperty, $bar->protectedNullableBoolProperty, $bar->protectedIntProperty, $bar->protectedNullableIntProperty, $bar->protectedFloatProperty, $bar->protectedNullableFloatProperty, $bar->protectedStringProperty, $bar->protectedNullableStringProperty, $bar->protectedArrayProperty, $bar->protectedNullableArrayProperty, $bar->protectedIterableProperty, $bar->protectedNullableIterableProperty);
93
-
94
-\Closure::bind(function (\ProxyManagerTestAsset\ClassWithMixedTypedProperties $instance) {
95
-    unset($instance->privateUnTypedProperty, $instance->privateUnTypedPropertyWithoutDefaultValue, $instance->privateBoolProperty, $instance->privateNullableBoolProperty, $instance->privateIntProperty, $instance->privateNullableIntProperty, $instance->privateFloatProperty, $instance->privateNullableFloatProperty, $instance->privateStringProperty, $instance->privateNullableStringProperty, $instance->privateArrayProperty, $instance->privateNullableArrayProperty, $instance->privateIterableProperty, $instance->privateNullableIterableProperty);
96
-}, $bar, 'ProxyManagerTestAsset\\ClassWithMixedTypedProperties')->__invoke($bar);
97
-
98
-
99
-PHP,
100
-                'bar',
101
-            ],
102
-        ];
103
-    }
104
-}
Please login to merge, or discard this patch.
Functional/AccessInterceptorScopeLocalizerFunctionalTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -631,7 +631,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
ProxyManagerTest/Functional/AccessInterceptorValueHolderFunctionalTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -631,7 +631,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
tests/ProxyManagerTest/Functional/LazyLoadingGhostFunctionalTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -826,6 +826,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
tests/ProxyManagerTest/Factory/RemoteObject/Adapter/BaseAdapterTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 namespace ProxyManagerTest\Factory\RemoteObject\Adapter;
6 6
 
7 7
 use Laminas\Server\Client;
8
-use PHPUnit\Framework\MockObject\MockObject;
9 8
 use PHPUnit\Framework\TestCase;
10 9
 use ProxyManager\Factory\RemoteObject\Adapter\BaseAdapter;
11 10
 
Please login to merge, or discard this patch.
tests/ProxyManagerTest/Factory/RemoteObject/Adapter/JsonRpcTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 namespace ProxyManagerTest\Factory\RemoteObject\Adapter;
6 6
 
7 7
 use Laminas\Server\Client;
8
-use PHPUnit\Framework\MockObject\MockObject;
9 8
 use PHPUnit\Framework\TestCase;
10 9
 use ProxyManager\Factory\RemoteObject\Adapter\JsonRpc;
11 10
 
Please login to merge, or discard this patch.
tests/ProxyManagerTest/Factory/RemoteObject/Adapter/SoapTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 namespace ProxyManagerTest\Factory\RemoteObject\Adapter;
6 6
 
7 7
 use Laminas\Server\Client;
8
-use PHPUnit\Framework\MockObject\MockObject;
9 8
 use PHPUnit\Framework\TestCase;
10 9
 use ProxyManager\Factory\RemoteObject\Adapter\Soap;
11 10
 
Please login to merge, or discard this patch.
tests/ProxyManagerTest/Factory/RemoteObject/Adapter/XmlRpcTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 namespace ProxyManagerTest\Factory\RemoteObject\Adapter;
6 6
 
7 7
 use Laminas\Server\Client;
8
-use PHPUnit\Framework\MockObject\MockObject;
9 8
 use PHPUnit\Framework\TestCase;
10 9
 use ProxyManager\Factory\RemoteObject\Adapter\XmlRpc;
11 10
 
Please login to merge, or discard this patch.
tests/ProxyManagerTest/Generator/Util/ClassGeneratorUtilsTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 
7 7
 use Laminas\Code\Generator\ClassGenerator;
8 8
 use Laminas\Code\Generator\MethodGenerator;
9
-use PHPUnit\Framework\MockObject\MockObject;
10 9
 use PHPUnit\Framework\TestCase;
11 10
 use ProxyManager\Generator\Util\ClassGeneratorUtils;
12 11
 use ProxyManagerTestAsset\BaseClass;
Please login to merge, or discard this patch.