protected function generatePhpConfiguration() { $phpConfiguration = new PhpConfiguration(); $report = $phpConfiguration->generate(null, null); $id = strpos($report, "\n\n\n"); $configline = substr($report, 0, $id); $configline = str_replace(array(' ', "\n"), array(" ", "<br />\n"), $configline); $html = $this->getBasedPage('php_compilation'); $html = $this->injectBloc($html, 'COMPILATION', $configline); $this->putBasedPage('php_compilation', $html); }