DoctorTestCase::runPhpDoctor PHP Method

runPhpDoctor() public method

Call setIniFile first.
public runPhpDoctor ( ) : string
return string PHPDoctor messages
    function runPhpDoctor()
    {
        if (!file_exists($this->iniPath)) {
            exit("\n\nini file for test not found or undefined\n\n");
        }
        $errorReporting = (string) (error_reporting() & ~2048);
        // Make sure E_STRICT is disabled
        ob_start();
        passthru(PHP . " -d error_reporting={$errorReporting} \"{$this->appDir}phpdoc.php\" \"{$this->iniPath}\"");
        return ob_get_clean();
    }