heiseonline/shariff-backend-php

View on GitHub
src/Backend/Vk.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '25', column '20').
Open

        return new \GuzzleHttp\Psr7\Request(
Severity: Minor
Found in src/Backend/Vk.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 classes with short names like Vk. Configured minimum length is 3.
Open

class Vk extends Request implements ServiceInterface
{
    /**
     * {@inheritdoc}
     */
Severity: Minor
Found in src/Backend/Vk.php by phpmd

ShortClassName

Since: 2.9

Detects when classes or interfaces have a very short name.

Example

class Fo {

}

interface Fo {

}

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

There are no issues that match your filters.

Category
Status