| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace App\Http\Controllers\Backend; |
||
| 12 | public function index(Request $request) |
||
| 13 | { |
||
| 14 | if ($request->wantsJson()) { |
||
| 15 | |||
| 16 | $query = ExceptionService::getModel(); |
||
| 17 | |||
| 18 | $datatables = \DataTables::of($query)->addColumn('action', function ($query) { |
||
| 19 | $deleteLink = \Form::deleteajax('/admin/general-setting/'. $query->id, 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
||
| 20 | $links = '<a href="/admin/general-setting/'.$query->id.'/edit" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
||
| 21 | |||
| 22 | return $links; |
||
| 23 | }); |
||
| 24 | |||
| 25 | return $datatables->make(true); |
||
| 26 | |||
| 27 | } else { |
||
| 28 | return view('backend.error.index')->with('error', ExceptionService::selectAll()); |
||
| 29 | } |
||
| 32 |
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