| Conditions | 4 |
| Paths | 10 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public static function create($oj,& $sub, $all_data) { |
||
| 44 | $submitterProvider="Submitter"; |
||
| 45 | try { |
||
| 46 | $BabelConfig=json_decode(file_get_contents(babel_path("Extension/$oj/babel.json")), true); |
||
| 47 | $submitterProvider=$BabelConfig["provider"]["submitter"]; |
||
| 48 | } catch(ErrorException $e) { |
||
| 49 | } catch(Exception $e) { |
||
| 50 | } |
||
| 51 | $className = "App\\Babel\\Extension\\$oj\\$submitterProvider"; |
||
| 52 | if(class_exists($className)) { |
||
| 53 | return new $className($sub, $all_data); |
||
| 54 | } else { |
||
| 55 | return null; |
||
| 56 | } |
||
| 59 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths