private function getIgnoredFiles($composer, $fileList)
    {
        $ignored = $fileList;

        foreach (array('autoload', 'autoload-dev') as $sectionName) {
            if (array_key_exists($sectionName, $composer)) {
                if (array_key_exists('exclude-from-classmap', $composer[$sectionName])) {
                    $ignored = array_merge($ignored, $composer[$sectionName]['exclude-from-classmap']);
                }
            }
        }

        return $ignored;
    }