Total Complexity | 2 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class SetLocale |
||
10 | { |
||
11 | /** |
||
12 | * @var \Mcamara\LaravelLocalization\LaravelLocalization |
||
13 | */ |
||
14 | protected $localization; |
||
15 | |||
16 | public function __construct(LaravelLocalization $localization) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Handle an incoming request. |
||
23 | * |
||
24 | * @param \Illuminate\Http\Request $request |
||
25 | * @param \Closure $next |
||
26 | * |
||
27 | * @throws \Mcamara\LaravelLocalization\Exceptions\SupportedLocalesNotDefined |
||
28 | * |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function handle($request, Closure $next) |
||
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