/**
  * Returns level name from config.
  *
  * @param Config $config
  *
  * @return string
  */
 private function getLevelName(Config $config)
 {
     static $map = [FixerInterface::PSR0_LEVEL => 'PSR0', FixerInterface::PSR1_LEVEL => 'PSR1', FixerInterface::PSR2_LEVEL => 'PSR2', FixerInterface::SYMFONY_LEVEL => 'Symfony', FixerInterface::CONTRIB_LEVEL => 'Contrib'];
     return $map[$config->getLevel()];
 }