| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function register() |
||
| 45 | { |
||
| 46 | $this->mergeConfigFrom( |
||
| 47 | __DIR__.'/../config/mirza.php', 'mirza' |
||
| 48 | ); |
||
| 49 | |||
| 50 | \App::singleton('MirzaClient', function () { |
||
| 51 | return new MirzaClient(config('mirza.secret')); |
||
| 52 | }); |
||
| 53 | \App::bind('Mirza', function () { |
||
| 54 | $client = resolve('MirzaClient'); |
||
| 55 | |||
| 56 | return new Mirza($client); |
||
| 57 | }); |
||
| 58 | |||
| 59 | \App::alias('Mirza', 'yak0d3\Mirza_Yandex_Translator\MirzaFacade'); |
||
| 60 | } |
||
| 62 |
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