| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractAccessTokenCest |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Generates and stores an auth token. |
||
| 11 | * |
||
| 12 | * @param Tester $I |
||
| 13 | * @param Example $example must contain keys: |
||
| 14 | * - client: string http client. |
||
| 15 | * - clientPass: string http password. |
||
| 16 | * - user: string system user. |
||
| 17 | * - userPass: string user password. |
||
| 18 | * - tokenName: token name used to store the auth token. |
||
| 19 | */ |
||
| 20 | protected function generateToken(Tester $I, Example $example) |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string url route which generates the token. |
||
| 42 | */ |
||
| 43 | protected function getRoute() |
||
| 48 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.