| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | abstract class TestCase extends BaseTestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Set up the test case. |
||
| 12 | */ |
||
| 13 | protected function setUp(): void |
||
| 14 | { |
||
| 15 | parent::setUp(); |
||
| 16 | // Add your setup code here |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Clean up after the test case. |
||
| 21 | */ |
||
| 22 | protected function tearDown(): void |
||
| 23 | { |
||
| 24 | // Add your teardown code here |
||
| 25 | parent::tearDown(); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Define environment setup. |
||
| 30 | * |
||
| 31 | * @param \Illuminate\Foundation\Application $app |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | protected function getEnvironmentSetUp($app) |
||
| 42 | ]); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Get package providers. |
||
| 47 | * |
||
| 48 | * @param \Illuminate\Foundation\Application $app |
||
| 49 | * @return array |
||
| 50 | */ |
||
| 51 | protected function getPackageProviders($app) |
||
| 55 | ]; |
||
| 56 | } |
||
| 58 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.