chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '19', column '28').
Open

                return new ImsLtiServiceReplaceResponse($statusInfo, $bodyParam);

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 '23', column '28').
Open

                return new ImsLtiServiceDeleteResponse($statusInfo, $bodyParam);

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 '25', column '28').
Open

                return new ImsLtiServiceUnsupportedResponse($statusInfo, $type);

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 '21', column '28').
Open

                return new ImsLtiServiceReadResponse($statusInfo, $bodyParam);

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

Doc comment for parameter $bodyParam does not match actual variable name $statusInfo
Open

     * @param mixed  $bodyParam

There are no issues that match your filters.

Category
Status