| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | protected function mockApplication($config = [], $appClass = '\yii\console\Application') |
||
| 42 | { |
||
| 43 | new $appClass(ArrayHelper::merge([ |
||
| 44 | 'id' => 'testapp', |
||
| 45 | 'basePath' => __DIR__, |
||
| 46 | 'bootstrap' => [ |
||
| 47 | Bootstrap::class |
||
| 48 | ], |
||
| 49 | 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', |
||
| 50 | ], $config)); |
||
| 51 | } |
||
| 52 | |||
| 63 |