We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | protected function setUp(): void |
||
| 18 | { |
||
| 19 | parent::setUp(); |
||
| 20 | |||
| 21 | Route::group([ |
||
| 22 | (array) config('backpack.base.web_middleware', 'web'), |
||
| 23 | (array) config('backpack.base.middleware_key', 'admin'), |
||
| 24 | 'prefix' => config('backpack.base.route_prefix', 'admin'), |
||
| 25 | ], |
||
| 26 | function () { |
||
| 27 | Route::crud('users', 'Backpack\CRUD\Tests\config\Http\Controllers\UserCrudController'); |
||
| 28 | } |
||
| 50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.