1.2.1282. Unresolved Classes¶
The following classes are instantiated in the code, but their definition couldn’t be found in that same code. They might be defined in an extension or an external component.
<?php
class Foo extends Bar {
private function foobar() {
// here, parent is not resolved, as Bar is not defined in the code.
return parent::$prop;
}
}
?>
1.2.1282.1. Connex PHP features¶
1.2.1282.1.1. Suggestions¶
Check for namespaces and aliases and make sure they are correctly configured.
1.2.1282.1.2. Specs¶
Short name |
Classes/UnresolvedClasses |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
Major |
Time To Fix |
Quick (30 mins) |
Precision |
Very high |
Available in |