| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ExampleCest |
||
| 11 | { |
||
| 12 | public function _before(FunctionalTester $I) |
||
|
|
|||
| 13 | { |
||
| 14 | $this->view = new View(); |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * _after |
||
| 19 | * |
||
| 20 | * @param UnitTester $I |
||
| 21 | */ |
||
| 22 | public function _after(UnitTester $I): void |
||
| 23 | { |
||
| 24 | unset($this->view); |
||
| 25 | } |
||
| 26 | |||
| 27 | // tests |
||
| 28 | public function tryToTest(FunctionalTester $I) |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.