protected function lintFile($php, $path)
    {
        $success = true;

        if (!$this->phpci->executeCommand($php . ' -l "%s"', $this->phpci->buildPath . $path)) {
            $this->phpci->logFailure($path);
            $success = false;
        }

        return $success;
    }
protected function lintFile($php, $path)
    {
        $success = true;

        if (!$this->phpci->executeCommand($php . ' -l "%s"', $this->phpci->buildPath . $path)) {
            $this->phpci->logFailure($path);
            $success = false;
        }

        return $success;
    }
protected function lintFile ( $ php , $ path ) { $ success = true ; if ( ! $ this -> phpci -> executeCommand ( $ php . ' -l "%s"' , $ this -> phpci -> buildPath . $ path ) ) { $ this -> phpci -> logFailure ( $ path ) ; $ success = false ; } return $ success ; }
Run php -l against a specific file.
@param $php
@param $path
@return bool
Run php - l against a specific file .