| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function providePackageNamesAndTitles() |
||
| 11 | { |
||
| 12 | return [ |
||
| 13 | ['pretendvendor/silverstripe-prefixedpackage', 'prefixedpackage'], |
||
| 14 | ['pretend-vendor/silverstripe-hyphen-package', 'hyphen-package'], |
||
| 15 | ['pretendvendor/somepackage', 'somepackage'], |
||
| 16 | ['pretend-vendor/silverstripepackage', 'silverstripepackage'], |
||
| 17 | ['pretendvendor/hyphenated-package', 'hyphenated-package'], |
||
| 18 | ['silverstripe/module', 'module'], |
||
| 19 | ['silverstripe/some-thing', 'some-thing'], |
||
| 20 | ['silverstripe/silverstripe-silverstripe-thing', 'silverstripe-thing'], |
||
| 21 | ['silverstripe-themes/silverstripe-theme', 'theme'], |
||
| 22 | ['silverstripe-themes/silverstripe-hyphenated-theme', 'hyphenated-theme'], |
||
| 23 | ]; |
||
| 24 | } |
||
| 25 | |||
| 37 |
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.