66
77use DOMDocument ;
88use Exception ;
9+ use PHPUnit \Framework \Attributes \RunInSeparateProcess ;
910use Soap \Engine \SimpleEngine ;
1011use Soap \ExtSoapEngine \ExtSoapDriver ;
1112use Soap \ExtSoapEngine \Transport \TraceableTransport ;
@@ -43,7 +44,7 @@ public function test_it_does_not_register_a_type()
4344 static ::assertCount (0 , $ types );
4445 }
4546
46- #[\ PHPUnit \ Framework \ Attributes \ RunInSeparateProcess]
47+ #[RunInSeparateProcess]
4748 public function test_it_knows_how_to_add_enums ()
4849 {
4950 $ input = 'Home ' ;
@@ -56,7 +57,7 @@ public function test_it_knows_how_to_add_enums()
5657 static ::assertStringContainsString ('<output xsi:type="ns2:PhoneTypeEnum">Home</output> ' , $ lastRequestInfo ->getLastResponse ());
5758 }
5859
59- #[\ PHPUnit \ Framework \ Attributes \ RunInSeparateProcess]
60+ #[RunInSeparateProcess]
6061 public function test_it_does_not_validate_enums ()
6162 {
6263 $ input = 'INVALID ' ;
@@ -68,7 +69,7 @@ public function test_it_does_not_validate_enums()
6869 static ::assertStringContainsString ('<output xsi:type="ns2:PhoneTypeEnum">INVALID</output> ' , $ lastRequestInfo ->getLastResponse ());
6970 }
7071
71- #[\ PHPUnit \ Framework \ Attributes \ RunInSeparateProcess]
72+ #[RunInSeparateProcess]
7273 public function test_it_does_not_validate_enum_types ()
7374 {
7475 $ input = 123 ;
@@ -80,7 +81,7 @@ public function test_it_does_not_validate_enum_types()
8081 static ::assertStringContainsString ('<output xsi:type="ns2:PhoneTypeEnum">123</output> ' , $ lastRequestInfo ->getLastResponse ());
8182 }
8283
83- #[\ PHPUnit \ Framework \ Attributes \ RunInSeparateProcess]
84+ #[RunInSeparateProcess]
8485 public function test_it_can_be_transformed_with_type_map ()
8586 {
8687 $ this ->driver = $ this ->configureSoapDriver ($ this ->wsdl , [
0 commit comments