SU-SWS/stanford_profile_helper

View on GitHub
modules/stanford_events/modules/stanford_events_importer/src/StanfordEventsImporter.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Missing class import via use statement (line '92', column '16').
Open

    $xml = new \SimpleXMLElement($raw);

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

  public function fetchXML($query = "category-list") {

Public method name "StanfordEventsImporter::parseXML" is not in lowerCamel format
Open

  public function parseXML($raw, array $options) {

There are no issues that match your filters.

Category
Status