Overtrue\PHPLint\Command\LintCommand::getConfigFile PHP Метод

getConfigFile() защищенный Метод

Get configuration file.
protected getConfigFile ( ) : string | null
Результат string | null
    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);
    }