Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
55 | public function constraintProvider() |
||
56 | { |
||
57 | return [ |
||
58 | ['1.0.0', false], |
||
59 | ['~3.2', false], |
||
60 | ['^3.2', false], |
||
61 | ['>=3.2', true], // warning!! |
||
62 | ['>=3.2,<4', false], |
||
63 | ['4.0.0', false], |
||
64 | ['~4.0.0', false], |
||
65 | ['^4.0', true], |
||
66 | ['>=4.0.0', true], |
||
67 | ['~4.2.3', false], |
||
68 | ['<5.0.0', true], |
||
69 | ['^5.0.0', false], |
||
70 | ['^3.5|^4.0', true], |
||
71 | ['^3.5|^5.0', false] |
||
72 | ]; |
||
73 | } |
||
74 | } |
||
75 |
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.