SU-HKKU/cardinal_service_profile

View on GitHub
src/InstallTaskManager.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

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

        throw new \Exception($this->t('Circular dependencies detected. %path', ['%path' => implode(' -> ', $requesting_plugins)]));
Severity: Minor
Found in src/InstallTaskManager.php by phpmd

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

Avoid excessively long variable names like $dependency_definition. Keep variable name length under 20.
Open

      $dependency_definition = $this->getDefinition($dependency);
Severity: Minor
Found in src/InstallTaskManager.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

There are no issues that match your filters.

Category
Status