Completed
Pull Request — master (#548)
by Alfred
21:44
created
tests/ProxyManagerTest/ProxyGenerator/Util/UnsetPropertiesGeneratorTest.php 1 patch
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.
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.
Functional/AccessInterceptorScopeLocalizerFunctionalTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -557,7 +557,7 @@
 block discarded – undo
557 557
     }
558 558
 
559 559
     /**
560
-     * @param mixed $expected
560
+     * @param string $expected
561 561
      * @param mixed $actual
562 562
      */
563 563
     private static function assertByRefVariableValueSame($expected, &$actual) : void
Please login to merge, or discard this patch.
ProxyManagerTest/Functional/AccessInterceptorValueHolderFunctionalTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -678,7 +678,7 @@
 block discarded – undo
678 678
     }
679 679
 
680 680
     /**
681
-     * @param mixed $expected
681
+     * @param string $expected
682 682
      * @param mixed $actual
683 683
      */
684 684
     private static function assertByRefVariableValueSame($expected, &$actual) : void
Please login to merge, or discard this patch.