Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function boot() |
||
16 | { |
||
17 | $this->publishes([ |
||
18 | __DIR__.'/../config/mirza.php' => config_path('mirza.php'), |
||
19 | ]); |
||
20 | Blade::directive('translate', function ($expression) { |
||
21 | $expression = explode(',', $expression); |
||
22 | $text = $expression[0]; |
||
23 | $lang = $expression[1]; |
||
24 | |||
25 | return "<?php echo Mirza::translate($text, $lang); ?>"; |
||
26 | }); |
||
27 | Blade::directive('langselect', function () { |
||
28 | return '<?php echo Mirza::languages_select(); ?>'; |
||
29 | }); |
||
30 | Blade::directive('yandex_rights', function ($expression) { |
||
31 | $expression = explode(',', $expression); |
||
32 | $color = $expression[0]; |
||
33 | $fontsize = $expression[1]; |
||
34 | |||
35 | return "<?php echo Mirza::yandex_rights($color,$fontsize); ?>"; |
||
36 | }); |
||
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