public function createAnalysisDriver()
    {
        $analysis = new Phpanalysis;

        foreach ($this->getConfig('analysis') as $key => $value) {
            $key = camel_case($key);

            if (property_exists($analysis, $key)) {
                $analysis->$key = $value;
            }
        }

        return new PhpAnalysisTokenizer($analysis);
    }