Missing class import via use statement (line '70', column '31'). Open
$this->addElement(new \XoopsFormText(\AM_ADSLIGHT_USERVOTES_RATING, 'rating', 50, 255, $this->targetObject->getVar('rating')), false);
- 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 '66', column '31'). Open
$this->addElement(new \XoopsFormSelectUser(\AM_ADSLIGHT_USERVOTES_USID, 'usid', false, $this->targetObject->getVar('usid'), 1, false), false);
- 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 '68', column '31'). Open
$this->addElement(new \XoopsFormSelectUser(\AM_ADSLIGHT_USERVOTES_RATINGUSER, 'ratinguser', false, $this->targetObject->getVar('ratinguser'), 1, false), false);
- 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 '77', column '31'). Open
$this->addElement(new \XoopsFormButton('', 'submit', \_SUBMIT, 'submit'));
- 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 '74', column '31'). Open
$this->addElement(new \XoopsFormDateTime(\AM_ADSLIGHT_USERVOTES_RATINGTIMESTAMP, 'ratingtimestamp', 0, $this->targetObject->getVar('ratingtimestamp')));
- 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 '76', column '31'). Open
$this->addElement(new \XoopsFormHidden('op', 'save'));
- 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 '64', column '31'). Open
$this->addElement(new \XoopsFormLabel(\AM_ADSLIGHT_USERVOTES_RATINGID, $this->targetObject->getVar('ratingid'), 'ratingid'));
- 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 '59', column '23'). Open
$hidden = new \XoopsFormHidden('ratingid', $this->targetObject->getVar('ratingid'));
- 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 '72', column '31'). Open
$this->addElement(new \XoopsFormText(\AM_ADSLIGHT_USERVOTES_RATINGHOSTNAME, 'ratinghostname', 50, 255, $this->targetObject->getVar('ratinghostname')), false);
- 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
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 38 and the first side effect is on line 27. Open
<?php declare(strict_types=1);
- Exclude checks
Line exceeds 120 characters; contains 166 characters Open
$this->addElement(new \XoopsFormText(\AM_ADSLIGHT_USERVOTES_RATINGHOSTNAME, 'ratinghostname', 50, 255, $this->targetObject->getVar('ratinghostname')), false);
- Exclude checks
Line exceeds 120 characters; contains 160 characters Open
$this->addElement(new \XoopsFormDateTime(\AM_ADSLIGHT_USERVOTES_RATINGTIMESTAMP, 'ratingtimestamp', 0, $this->targetObject->getVar('ratingtimestamp')));
- Exclude checks
Line exceeds 120 characters; contains 168 characters Open
$this->addElement(new \XoopsFormSelectUser(\AM_ADSLIGHT_USERVOTES_RATINGUSER, 'ratinguser', false, $this->targetObject->getVar('ratinguser'), 1, false), false);
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
$this->addElement(new \XoopsFormText(\AM_ADSLIGHT_USERVOTES_RATING, 'rating', 50, 255, $this->targetObject->getVar('rating')), false);
- Exclude checks
Line exceeds 120 characters; contains 150 characters Open
$this->addElement(new \XoopsFormSelectUser(\AM_ADSLIGHT_USERVOTES_USID, 'usid', false, $this->targetObject->getVar('usid'), 1, false), false);
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
$this->addElement(new \XoopsFormLabel(\AM_ADSLIGHT_USERVOTES_RATINGID, $this->targetObject->getVar('ratingid'), 'ratingid'));
- Exclude checks