diff --git a/tests/PropertyTypeTest.php b/tests/PropertyTypeTest.php
index 0fbd78699..69be13872 100644
--- a/tests/PropertyTypeTest.php
+++ b/tests/PropertyTypeTest.php
@@ -3825,22 +3825,6 @@ class PropertyTypeTest extends TestCase
',
'error_message' => 'UndefinedPropertyAssignment',
],
- 'setPropertiesOfSimpleXMLElement1' => [
- 'code' => '");
- $a->b = "c";
- ',
- 'error_message' => 'UndefinedPropertyAssignment',
- ],
- 'setPropertiesOfSimpleXMLElement2' => [
- 'code' => '");
- if (isset($a->b)) {
- $a->b = "c";
- }
- ',
- 'error_message' => 'UndefinedPropertyAssignment',
- ],
];
}
}