These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | |||
4 | /** |
||
5 | * Inherited Methods. |
||
6 | * |
||
7 | * @method void wantToTest($text) |
||
8 | * @method void wantTo($text) |
||
9 | * @method void execute($callable) |
||
10 | * @method void expectTo($prediction) |
||
11 | * @method void expect($prediction) |
||
12 | * @method void amGoingTo($argumentation) |
||
13 | * @method void am($role) |
||
14 | * @method void lookForwardTo($achieveValue) |
||
15 | * @method void comment($description) |
||
16 | * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL) |
||
17 | * |
||
18 | * @SuppressWarnings(PHPMD) |
||
19 | * phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace |
||
20 | */ |
||
21 | class UnitTester extends \Codeception\Actor |
||
0 ignored issues
–
show
|
|||
22 | { |
||
23 | use _generated\UnitTesterActions; |
||
24 | } |
||
25 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.