| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function __construct() |
||
| 28 | { |
||
| 29 | error_reporting(-1); |
||
| 30 | |||
| 31 | parent::__construct('Elder Brother', '1.0.0'); |
||
| 32 | |||
| 33 | $this->output = new ConsoleOutput(); |
||
| 34 | $this->logger = new ConsoleLogger($this->output); |
||
| 35 | $this->config = new Config( |
||
| 36 | [ |
||
| 37 | 'project config' => 'path1', // TODO fix path |
||
|
|
|||
| 38 | 'user config' => 'path1', // TODO fix path |
||
| 39 | ], |
||
| 40 | $this->logger |
||
| 41 | ); |
||
| 42 | |||
| 43 | $this->add(new Command\Run($this->config)); |
||
| 44 | //$this->add(new Command\GitInstall()); |
||
| 45 | //$this->add(new Command\GitUninstall()); |
||
| 46 | } |
||
| 47 | |||
| 62 |