* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @see http://github.com/sjparkinson/static-review/blob/master/LICENSE.md */ namespace StaticReview\Review; use Symfony\Component\Process\Process; abstract class AbstractReview implements ReviewInterface { /** * @param string $commandline * @param null|string $cwd * @param null|array $env * @param null|string $input * @param int $timeout * @param array $options * * @return Process */ public function getProcess( $commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = [] ) { return new Process($commandline, $cwd, $env, $input, $timeout, $options); } }