1 | <?php |
||||
2 | |||||
3 | namespace LaravelAt\ImageSanitize\Tests; |
||||
4 | |||||
5 | use LaravelAt\ImageSanitize\Facades\ImageSanitizeFacade; |
||||
6 | use LaravelAt\ImageSanitize\ServiceProviders\ImageSanitizeServiceProvider; |
||||
7 | |||||
8 | class TestCase extends \Orchestra\Testbench\TestCase |
||||
9 | { |
||||
10 | protected function getPackageProviders($app): array |
||||
0 ignored issues
–
show
|
|||||
11 | { |
||||
12 | return [ImageSanitizeServiceProvider::class]; |
||||
13 | } |
||||
14 | |||||
15 | protected function getPackageAliases($app): array |
||||
0 ignored issues
–
show
The parameter
$app is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||
16 | { |
||||
17 | return [ |
||||
18 | 'ImageSanitize' => ImageSanitizeFacade::class, |
||||
19 | ]; |
||||
20 | } |
||||
21 | } |
||||
22 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.