22
33declare (strict_types = 1 );
44
5- namespace GeneratorNodeScopeResolverTest ;
5+ namespace FiberNodeScopeResolverTest ;
66
77use Closure ;
88use DivisionByZeroError ;
@@ -369,9 +369,9 @@ class FooWithStaticMethods
369369
370370 public function doFoo (): void
371371 {
372- assertType ('GeneratorNodeScopeResolverTest \\FooWithStaticMethods ' , self ::returnSelf ());
373- assertNativeType ('GeneratorNodeScopeResolverTest \\FooWithStaticMethods ' , self ::returnSelf ());
374- assertType ('GeneratorNodeScopeResolverTest \\FooWithStaticMethods ' , self ::returnPhpDocSelf ());
372+ assertType ('FiberNodeScopeResolverTest \\FooWithStaticMethods ' , self ::returnSelf ());
373+ assertNativeType ('FiberNodeScopeResolverTest \\FooWithStaticMethods ' , self ::returnSelf ());
374+ assertType ('FiberNodeScopeResolverTest \\FooWithStaticMethods ' , self ::returnPhpDocSelf ());
375375 assertNativeType ('mixed ' , self ::returnPhpDocSelf ());
376376 }
377377
@@ -402,7 +402,7 @@ public function doFoo2(): void
402402 {
403403 assertType ('1 ' , self ::genericStatic (1 ));
404404
405- $ s = 'GeneratorNodeScopeResolverTest \\FooWithStaticMethods ' ;
405+ $ s = 'FiberNodeScopeResolverTest \\FooWithStaticMethods ' ;
406406 assertType ('1 ' , $ s ::genericStatic (1 ));
407407 }
408408
@@ -450,7 +450,7 @@ public function __construct($a)
450450
451451function (): void {
452452 $ foo = new FooGeneric (5 );
453- assertType ('GeneratorNodeScopeResolverTest \\FooGeneric<int> ' , $ foo );
453+ assertType ('FiberNodeScopeResolverTest \\FooGeneric<int> ' , $ foo );
454454};
455455
456456function (): void {
@@ -469,11 +469,11 @@ function doFoo(): void {
469469 assertType ('literal-string&non-falsy-string ' , __DIR__ );
470470 assertType ('literal-string&non-falsy-string ' , __FILE__ );
471471 assertType ('471 ' , __LINE__ );
472- assertType ("'GeneratorNodeScopeResolverTest ' " , __NAMESPACE__ );
473- assertType ("'GeneratorNodeScopeResolverTest \\\\MagicConstUser' " , __CLASS__ );
472+ assertType ("'FiberNodeScopeResolverTest ' " , __NAMESPACE__ );
473+ assertType ("'FiberNodeScopeResolverTest \\\\MagicConstUser' " , __CLASS__ );
474474 assertType ("'' " , __TRAIT__ );
475475 assertType ("'doFoo' " , __FUNCTION__ );
476- assertType ("'GeneratorNodeScopeResolverTest \\\\MagicConstUser::doFoo' " , __METHOD__ );
476+ assertType ("'FiberNodeScopeResolverTest \\\\MagicConstUser::doFoo' " , __METHOD__ );
477477 assertType ("'' " , __PROPERTY__ );
478478 }
479479}
0 commit comments