1 | <?php |
||
2 | |||
3 | namespace App\Providers; |
||
4 | |||
5 | use App\Logic\Macros\Macros; |
||
0 ignored issues
–
show
|
|||
6 | use Collective\Html\HtmlServiceProvider; |
||
7 | |||
8 | /** |
||
9 | * Class MacroServiceProvider. |
||
10 | */ |
||
11 | class MacroServiceProvider extends HtmlServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Register the application services. |
||
15 | * |
||
16 | * @return void |
||
17 | */ |
||
18 | public function register() |
||
19 | { |
||
20 | // Macros must be loaded after the HTMLServiceProvider's |
||
21 | // register method is called. Otherwise, csrf tokens |
||
22 | // will not be generated |
||
23 | parent::register(); |
||
24 | |||
25 | // Load HTML Macros |
||
26 | require base_path().'/app/Logic/Macros/HtmlMacros.php'; |
||
27 | } |
||
28 | } |
||
29 |
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