modules/stanford_events/modules/stanford_events_importer/src/StanfordEventsImporter.php
Missing class import via use statement (line '92', column '16'). Open
Open
$xml = new \SimpleXMLElement($raw);
- 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
Public method name "StanfordEventsImporter::fetchXML" is not in lowerCamel format Open
Open
public function fetchXML($query = "category-list") {
- Exclude checks
Public method name "StanfordEventsImporter::parseXML" is not in lowerCamel format Open
Open
public function parseXML($raw, array $options) {
- Exclude checks