Root/MapCollection.php
Missing class import via use statement (line '65', column '20'). Open
Open
return new \ArrayIterator($this->maps);
- 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
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
return NULL;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
Open
if ($map->has($name)) return TRUE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
return FALSE;
- Exclude checks
Inline control structures are not allowed Open
Open
if ($map->has($name)) return $map->get($name);
- Exclude checks
Inline control structures are not allowed Open
Open
if ($map->has($name)) return TRUE;
- Exclude checks