class/Form/TypeForm.php
Missing class import via use statement (line '70', column '31'). Open
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 '61', column '23'). Open
Open
$hidden = new \XoopsFormHidden('id_type', $this->targetObject->getVar('id_type'));
- 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
Open
$this->addElement(new \XoopsFormLabel(\AM_ADSLIGHT_TYPE_ID_TYPE, $this->targetObject->getVar('id_type'), 'id_type'));
- 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 '71', column '31'). Open
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 '68', column '31'). Open
Open
$this->addElement(new \XoopsFormText(\AM_ADSLIGHT_TYPE_NOM_TYPE, 'nom_type', 50, 255, $this->targetObject->getVar('nom_type')), 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 40 and the first side effect is on line 29. Open
Open
<?php declare(strict_types=1);
- Exclude checks
There must be one USE keyword per declaration Open
Open
use XoopsModules\Adslight\{
- Exclude checks
Line exceeds 120 characters; contains 143 characters Open
Open
$this->addElement(new \XoopsFormText(\AM_ADSLIGHT_TYPE_NOM_TYPE, 'nom_type', 50, 255, $this->targetObject->getVar('nom_type')), false);
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
$this->addElement(new \XoopsFormLabel(\AM_ADSLIGHT_TYPE_ID_TYPE, $this->targetObject->getVar('id_type'), 'id_type'));
- Exclude checks