We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 3 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | private function makePluginInstance() |
||
| 56 | { |
||
| 57 | $this->app->singleton(PluginManager::class, function () { |
||
| 58 | try { |
||
| 59 | return (new PluginManager)->collect(app(PluginRepository::class)->all()); |
||
| 60 | } catch (Exception $e) { |
||
| 61 | if ($this->app->runningInConsole()) { |
||
| 62 | return new PluginManager; |
||
| 63 | } |
||
| 64 | |||
| 65 | throw new EngineBootException('Could not perform query on the `plugins database`, do we have proper connection settings?'); |
||
| 66 | } |
||
| 70 |