arinasystems /
laravel-json-response
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace ArinaSystems\JsonResponse\Tests; |
||||
| 4 | |||||
| 5 | use ArinaSystems\JsonResponse\Providers\JsonResponseServiceProvider; |
||||
| 6 | use Orchestra\Testbench\TestCase as Orchestra; |
||||
| 7 | |||||
| 8 | /** |
||||
| 9 | * Class TestCase. |
||||
| 10 | */ |
||||
| 11 | abstract class TestCase extends Orchestra |
||||
| 12 | { |
||||
| 13 | /** |
||||
| 14 | * Setup the test environment. |
||||
| 15 | * |
||||
| 16 | * @return void |
||||
| 17 | */ |
||||
| 18 | public function setUp(): void |
||||
| 19 | { |
||||
| 20 | parent::setUp(); |
||||
| 21 | } |
||||
| 22 | |||||
| 23 | /** |
||||
| 24 | * Get JsonResponse package providers. |
||||
| 25 | * |
||||
| 26 | * @return array |
||||
| 27 | */ |
||||
| 28 | protected function getPackageProviders($app) |
||||
|
0 ignored issues
–
show
|
|||||
| 29 | { |
||||
| 30 | return [ |
||||
| 31 | JsonResponseServiceProvider::class, |
||||
| 32 | ]; |
||||
| 33 | } |
||||
| 34 | |||||
| 35 | /** |
||||
| 36 | * @param $app |
||||
| 37 | * @return array |
||||
| 38 | */ |
||||
| 39 | protected function getPackageAliases($app) |
||||
|
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. Loading history...
|
|||||
| 40 | { |
||||
| 41 | return [ |
||||
| 42 | 'JsonResponse' => 'ArinaSystems\JsonResponse\Facades\JsonResponse', |
||||
| 43 | ]; |
||||
| 44 | } |
||||
| 45 | } |
||||
| 46 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.