| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class LocalesController extends Controller |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return \Illuminate\Http\JsonResponse |
||
| 14 | */ |
||
| 15 | public function getLocales() |
||
| 16 | { |
||
| 17 | $locales = Locale::pluck('name'); |
||
| 18 | return response()->json(['locales' => $locales]); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Request $request |
||
| 23 | * @return \Illuminate\Http\JsonResponse |
||
| 24 | */ |
||
| 25 | public function addLocale(Request $request) |
||
| 38 | } |
||
| 39 | } |
||
| 41 |
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