Showing 183 of 183 total issues
Missing class import via use statement (line '116', column '23'). Open
throw new \InvalidArgumentException($productName);
- 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 '45', column '23'). Open
throw new \InvalidArgumentException('Matrix is not NumericMatrix');
- 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 '60', column '27'). Open
throw new \InvalidArgumentException('pptions[edgeFunc]');
- 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 '58', column '23'). Open
throw new \InvalidArgumentException('size must be >= 1');
- 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
Avoid too many return
statements within this method. Open
return $value;
Avoid too many return
statements within this method. Open
return $this->transform(new $tName(), $extra);
Avoid too many return
statements within this method. Open
return TypeFactory::createInt(($value ? 1 : 0));
Avoid too many return
statements within this method. Open
return TypeFactory::createRational($scalar);
Avoid too many return
statements within this method. Open
return ComplexTypeFactory::create($scalar);
Avoid too many return
statements within this method. Open
return RationalTypeFactory::create($value ? 1 : 0, 1);
Missing class import via use statement (line '150', column '23'). Open
throw new \InvalidArgumentException('$rows must be >= 1');
- 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
Avoid too many return
statements within this method. Open
return TypeFactory::createInt(0);
Avoid too many return
statements within this method. Open
return ComplexTypeFactory::create($scalar);
Missing class import via use statement (line '104', column '19'). Open
throw new \InvalidArgumentException($attr());
- 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 '221', column '19'). Open
throw new \InvalidArgumentException(self::ERR_INVALID_OP_NAME);
- 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
Avoid too many return
statements within this method. Open
return RationalTypeFactory::create(0, 1);
Avoid too many return
statements within this method. Open
return RationalTypeFactory::create($scalar);
Avoid too many return
statements within this method. Open
return ComplexTypeFactory::create(($value ? 1 : 0), 0);
Missing class import via use statement (line '43', column '23'). Open
throw new \InvalidArgumentException('$cols must be >= 1');
- 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 '81', column '23'). Open
throw new \InvalidArgumentException("{$name} is unknown for tuning");
- 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();
}