Showing 4 of 4 total issues
Method getRecursiveIteratorIterator
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getRecursiveIteratorIterator($exclude = [])
{
/**
* Filters based on the given $exclude array, filters out directories with
* the names in that array.
Missing class import via use statement (line '264', column '30'). Open
Open
$innerIterator = new \RecursiveDirectoryIterator(
- 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 '270', column '17'). Open
Open
new \RecursiveCallbackFilterIterator($innerIterator, $filter),
- 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 '269', column '25'). Open
Open
$iterator = new \RecursiveIteratorIterator(
- 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();
}