| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function register(): void |
||
| 29 | { |
||
| 30 | $app = $this->app; |
||
| 31 | |||
| 32 | $app->singleton('easy-rsa.factory', static function ($app) { |
||
| 33 | return new Factory(); |
||
| 34 | }); |
||
| 35 | |||
| 36 | $app->singleton('easy-rsa', static function ($app) { |
||
| 37 | return new Manager($app, $app['easy-rsa.factory']); |
||
| 38 | }); |
||
| 39 | |||
| 40 | $app->alias('easy-rsa', Manager::class); |
||
| 41 | |||
| 42 | $app->singleton(Worker::class, static function (Container $app) { |
||
| 43 | return $app->make('easy-rsa')->connection(); |
||
| 44 | }); |
||
| 60 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths