for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpGitHooks\Module\PhpCs\Contract\Command;
use Bruli\EventBusBundle\CommandBus\CommandInterface;
class PhpCsTool implements CommandInterface
{
/**
* @var array
*/
private $files;
* @var string
private $standard;
private $errorMessage;
private $ignore;
* PhpCsToolCommand constructor.
*
* @param array $files
* @param string $standard
* @param string $errorMessage
* @param string $ignore
public function __construct(array $files, $standard, $errorMessage, $ignore)
$this->files = $files;
$this->standard = $standard;
$this->errorMessage = $errorMessage;
$this->ignore = $ignore;
}
* @return string
public function getErrorMessage()
return $this->errorMessage;
* @return array
public function getFiles()
return $this->files;
public function getStandard()
return $this->standard;
public function getIgnore()
return $this->ignore;