public function testFinished() : void { $this->tests++; if ($this->tests === $this->threshold) { gc_collect_cycles(); $this->facade ->emitter() ->testRunnerTriggeredGarbageCollection(); $this->tests = 0; } }