| 1 | <?php |
||
| 7 | class PhpCsFixerTool implements CommandInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | private $files; |
||
| 13 | /** |
||
| 14 | * @var bool |
||
| 15 | */ |
||
| 16 | private $psr0; |
||
| 17 | /** |
||
| 18 | * @var bool |
||
| 19 | */ |
||
| 20 | private $psr1; |
||
| 21 | /** |
||
| 22 | * @var bool |
||
| 23 | */ |
||
| 24 | private $psr2; |
||
| 25 | /** |
||
| 26 | * @var bool |
||
| 27 | */ |
||
| 28 | private $symfony; |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $options; |
||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | private $errorMessage; |
||
| 37 | /** |
||
| 38 | * @var bool |
||
| 39 | */ |
||
| 40 | private $enableFaces; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * PhpCsFixerToolCommand constructor. |
||
| 44 | * |
||
| 45 | * @param array $files |
||
| 46 | * @param bool $psr0 |
||
| 47 | * @param bool $psr1 |
||
| 48 | * @param bool $psr2 |
||
| 49 | * @param bool $symfony |
||
| 50 | * @param string $options |
||
| 51 | * @param string $errorMessage |
||
| 52 | * @param bool $enableFaces |
||
| 53 | */ |
||
| 54 | 3 | public function __construct(array $files, $psr0, $psr1, $psr2, $symfony, $options, $errorMessage, $enableFaces) |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @return array |
||
| 68 | */ |
||
| 69 | 2 | public function getFiles() |
|
| 73 | |||
| 74 | /** |
||
| 75 | * @return bool |
||
| 76 | */ |
||
| 77 | 2 | public function isPsr0() |
|
| 81 | |||
| 82 | /** |
||
| 83 | * @return bool |
||
| 84 | */ |
||
| 85 | 2 | public function isPsr1() |
|
| 89 | |||
| 90 | /** |
||
| 91 | * @return bool |
||
| 92 | */ |
||
| 93 | 2 | public function isPsr2() |
|
| 97 | |||
| 98 | /** |
||
| 99 | * @return bool |
||
| 100 | */ |
||
| 101 | 2 | public function isSymfony() |
|
| 105 | |||
| 106 | /** |
||
| 107 | * @return string |
||
| 108 | */ |
||
| 109 | 2 | public function getOptions() |
|
| 113 | |||
| 114 | /** |
||
| 115 | * @return string |
||
| 116 | */ |
||
| 117 | 2 | public function getErrorMessage() |
|
| 121 | |||
| 122 | /** |
||
| 123 | * @return bool |
||
| 124 | */ |
||
| 125 | 2 | public function isEnableFaces() |
|
| 129 | } |
||
| 130 |