| Total Complexity | 7 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class SpecActor { |
||
| 10 | public static function describe(string $scenario): void { |
||
|
|
|||
| 11 | |||
| 12 | } |
||
| 13 | |||
| 14 | public static function verify(string $scenario, callable $verificationSteps = null): void { |
||
| 15 | |||
| 16 | } |
||
| 17 | |||
| 18 | public static function expect(string $scenario, callable $verificationSteps = null): void { |
||
| 19 | |||
| 20 | } |
||
| 21 | |||
| 22 | public static function match(string $variableName): Router { |
||
| 23 | return new Router($variableName, Router::DEFERRED_EXPECTATION_MODE); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Stops execution for specified number of units of time. |
||
| 28 | * |
||
| 29 | * @param int $numberOfTimeUnits number of units of time. |
||
| 30 | * {@link Wait} specifies what unit should be used. |
||
| 31 | * |
||
| 32 | * @return Wait |
||
| 33 | */ |
||
| 34 | public static function wait($numberOfTimeUnits): Wait { |
||
| 36 | } |
||
| 37 | |||
| 38 | public static function lookAt(string $variableName): Router { |
||
| 39 | return new Router($variableName); |
||
| 40 | } |
||
| 41 | |||
| 42 | public static function usePlugin($plugin) { |
||
| 43 | |||
| 44 | } |
||
| 45 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.