VSVverkeerskunde/gvq-api

View on GitHub
src/User/ValueObjects/Password.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '37', column '23').
Open

            throw new \InvalidArgumentException(
Severity: Minor
Found in src/User/ValueObjects/Password.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 unused private methods such as 'setValue'.
Open

    private function setValue(string $value): void
    {
        $this->value = $value;
    }
Severity: Minor
Found in src/User/ValueObjects/Password.php by phpmd

UnusedPrivateMethod

Since: 0.2

Unused Private Method detects when a private method is declared but is unused.

Example

class Something
{
    private function foo() {} // unused
}

Source https://phpmd.org/rules/unusedcode.html#unusedprivatemethod

There are no issues that match your filters.

Category
Status