We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | abstract class BaseTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * Setup the test environment. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | protected function setUp(): void |
||
16 | { |
||
17 | parent::setUp(); |
||
18 | } |
||
19 | |||
20 | protected function getPackageProviders($app) |
||
24 | ]; |
||
25 | } |
||
26 | |||
27 | // allow us to run crud panel private/protected methods like `inferFieldTypeFromDbColumnType` |
||
28 | public function invokeMethod(&$object, $methodName, array $parameters = []) |
||
37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.