chamilo/chamilo-lms

View on GitHub
public/plugin/ims_lti/src/ImsLtiServiceRequest.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '39', column '33').
Open

        $this->statusInfo = new ImsLtiServiceResponseStatus();

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

Variable "imsx_POXHeader" is not in valid camel caps format
Open

        $this->xmlHeaderInfo = $xml->imsx_POXHeader->imsx_POXRequestHeaderInfo;

Variable "imsx_messageIdentifier" is not in valid camel caps format
Open

        $this->statusInfo->setMessageRefIdentifier($info->imsx_messageIdentifier);

Abstract class name is not prefixed with "Abstract"
Open

abstract class ImsLtiServiceRequest

Variable "imsx_POXBody" is not in valid camel caps format
Open

        $this->xmlRequest = $xml->imsx_POXBody->children();

There are no issues that match your filters.

Category
Status