From 2cbd8b05d15bd7c8f4dde01af43c386fec15b88d Mon Sep 17 00:00:00 2001 From: Ivan Sidorov Date: Wed, 21 Aug 2024 20:34:49 +0000 Subject: [PATCH] Creating Success Regression Tests --- tests/MixinAnnotationTest.php | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/tests/MixinAnnotationTest.php b/tests/MixinAnnotationTest.php index 88529223bd8..824e582cf2e 100644 --- a/tests/MixinAnnotationTest.php +++ b/tests/MixinAnnotationTest.php @@ -616,6 +616,21 @@ class A {} (new A)->foo;', 'error_message' => 'UndefinedPropertyFetch', ], + 'undefinedMixinClassWithPropertyFetch_WithMagicMethod' => [ + 'code' => 'foo;', + 'error_message' => 'UndefinedMagicPropertyFetch', + ], 'undefinedMixinClassWithPropertyAssignment' => [ 'code' => 'foo();', 'error_message' => 'UndefinedMethod', ], + 'undefinedMixinClassWithMethodCall_WithMagicMethod' => [ + 'code' => 'foo();', + 'error_message' => 'UndefinedMagicMethod', + ], + 'undefinedMixinClassWithStaticMethodCall' => [ + 'code' => ' 'UndefinedMethod', + ], + 'undefinedMixinClassWithStaticMethodCall_WithMagicMethod' => [ + 'code' => ' 'UndefinedMagicMethod', + ], 'inheritTemplatedMixinWithSelf' => [ 'code' => '