protected function getConfigFile()
{
$inputPath = $this->input->getArgument('path');
$dir = './';
if (count($inputPath) == 1 && ($first = reset($inputPath))) {
$dir = is_dir($first) ? $first : dirname($first);
}
$filename = rtrim($dir, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . '.phplint.yml';
return realpath($filename);
}