PhpCsFixer\Test\AbstractFixerTestCase::lintSource PHP Метод

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

protected lintSource ( string $source ) : string | null
$source string
Результат string | null
    protected function lintSource($source)
    {
        try {
            $this->linter->lintSource($source)->check();
        } catch (\Exception $e) {
            return $e->getMessage() . "\n\nSource:\n{$source}";
        }
    }