| 1 | <?php |
||
| 8 | class UserSpecification |
||
| 9 | { |
||
| 10 | /** @var User $user */ |
||
| 11 | private $user; |
||
| 12 | |||
| 13 | public function __construct(User $user) |
||
| 17 | |||
| 18 | public function validate() |
||
| 23 | |||
| 24 | public function validateNew() |
||
| 31 | |||
| 32 | public function validateIdentifier() |
||
| 44 | |||
| 45 | private function doBasicValidation() |
||
| 50 | |||
| 51 | private function validateEmail() |
||
| 58 | |||
| 59 | private function validateName() |
||
| 69 | } |
||
| 70 |
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.