1 | <?php |
||||
2 | |||||
3 | /** |
||||
4 | * Laravel IP Checker |
||||
5 | * |
||||
6 | * @author Hayri Can BARÇIN <hayricanbarcin (#) gmail (.) com> |
||||
7 | * @license http://www.opensource.org/licenses/mit-license.php MIT |
||||
8 | * @link https://github.com/HayriCan/laravel-ip-checker |
||||
9 | */ |
||||
10 | |||||
11 | Route::group(['prefix'=>config('ipchecker.settings.route_prefix')], function () { |
||||
0 ignored issues
–
show
The function
config was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
12 | Route::get('/iplists', 'HayriCan\IpChecker\Http\Controllers\IpCheckerController@index')->name('iplist.index'); |
||||
13 | Route::post('/ip-add', 'HayriCan\IpChecker\Http\Controllers\IpCheckerController@add')->name('iplist.add'); |
||||
14 | Route::delete('/ip-delete', 'HayriCan\IpChecker\Http\Controllers\IpCheckerController@delete')->name('iplist.delete'); |
||||
15 | }); |
||||
16 |
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