protected function findCoreOverwrites()
{
$folders = array($this->_magentoRootFolder . '/app/code/local/Mage', $this->_magentoRootFolder . '/app/code/local/Enterprise', $this->_magentoRootFolder . '/app/code/community/Mage', $this->_magentoRootFolder . '/app/code/community/Enterprise');
foreach ($folders as $key => $folder) {
if (!is_dir($folder)) {
unset($folders[$key]);
}
}
if (count($folders) > 0) {
$finder = Finder::create();
$finder->files()->ignoreUnreadableDirs(true)->in($folders);
$this->infos['Core Autoloader Overwrites'] = $finder->count();
}
}