File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
use chillerlan \Settings \SettingsContainerInterface ;
18
18
use PHPUnit \Framework \Attributes \DataProvider ;
19
19
use PHPUnit \Framework \TestCase ;
20
- use ReflectionClass ;
20
+ use ReflectionObject ;
21
21
22
22
/**
23
23
* Test abstract for the several (built-in) output modules,
@@ -81,7 +81,7 @@ public function testRenderToCacheFile():void{
81
81
$ this ->options ->outputBase64 = false ;
82
82
$ this ->outputInterface = $ this ->getOutputInterface ($ this ->options , $ this ->matrix );
83
83
// create the cache file
84
- $ name = (new ReflectionClass ($ this ->outputInterface ))->getShortName ();
84
+ $ name = (new ReflectionObject ($ this ->outputInterface ))->getShortName ();
85
85
$ fileSubPath = $ this ::buildDir.'/test.output. ' .$ name ;
86
86
$ data = $ this ->outputInterface ->dump ($ this ->getBuildPath ($ fileSubPath ));
87
87
You can’t perform that action at this time.
0 commit comments