Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class PhpUtils { |
||
6 | static private string $delimiter = '---'; |
||
7 | static private array $parsedJs = []; |
||
8 | |||
9 | public static function importJsFromFile(string $filename): string { |
||
10 | return \file_get_contents($filename . '.js', true); |
||
11 | } |
||
12 | |||
13 | public static function parseFile(string $filename, string $extension): array { |
||
21 | } |
||
22 | |||
23 | public static function getParsedJs(string $name): string { |
||
28 |
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.