src/CoreBundle/Traits/Repository/ORM/TreeRepositoryTrait.php
Missing class import via use statement (line '74', column '23'). Open
Open
throw new \Gedmo\Exception\InvalidMappingException('Tree listener was not found on your entity manager, it must be hooked into the event manager');
- 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 '79', column '23'). Open
Open
throw new \Gedmo\Exception\InvalidMappingException('This repository cannot be used for tree type: '.$treeListener->getStrategy($em, $class->name)->getName());
- 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 parameter name Open
Open
* @param string - Sort direction ("asc" or "desc")
- Exclude checks
Missing class doc comment Open
Open
trait TreeRepositoryTrait
- Exclude checks
Missing parameter name Open
Open
* @param string - Sort direction ("asc" or "desc")
- Exclude checks
Missing parameter name Open
Open
* @param string - Sort by field
- Exclude checks
Missing parameter name Open
Open
* @param string - Sort by field
- Exclude checks