private function commandLineLint()

in build/PhpFileLinterTrait.php [36:42]


    private function commandLineLint($path)
    {
        list($output, $exitCode) = [[], 1];
        exec("php -l $path", $output, $exitCode);

        return 0 === $exitCode;
    }