assets/php/examples/advanced_ajax/move_target.php
Missing class import via use statement (line '14', column '26'). Open
Open
$this->pnlParent = new QPanel($this);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '25', column '27'). Open
Open
$this->txtTextbox = new QTextBox($this->pnlParent);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '17', column '26'). Open
Open
$this->lblHandle = new QPanel($this->pnlParent);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The method Form_Create is not named in camelCase. Open
Open
protected function Form_Create() {
$this->pnlParent = new QPanel($this);
$this->pnlParent->AutoRenderChildren = true;
$this->lblHandle = new QPanel($this->pnlParent);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}