/** * Configures the test listener as defined in the user settings. * * @return void */ protected function configureTestListener() { if ($this->userSettingsService->getAsBoolean('testdox')) { $this->testListener->useHumanReadableTextFormat(); } if ($this->userSettingsService->getAsBoolean('showMemoryAndTime')) { $this->testListener->enableShowMemoryAndTime(); } }