| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function testGeneratesValidClassName(array $parameters) : void |
||
| 24 | { |
||
| 25 | $encoder = new ParameterEncoder(); |
||
| 26 | |||
| 27 | self::assertRegExp( |
||
|
|
|||
| 28 | '/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]+/', |
||
| 29 | $encoder->encodeParameters($parameters), |
||
| 30 | 'Encoded string is a valid class identifier' |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | |||
| 49 |
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.