jaroslavtyc/drd-plus-stamina

View on GitHub
tests/Stamina/RestPowerTest.php

Summary

Maintainability
A
0 mins
Test Coverage

The method I_can_use_it is not named in camelCase.
Open

    public function I_can_use_it(): void
    {
        $restingPower = new RestPower(123);
        self::assertSame(123, $restingPower->getValue());
        self::assertSame('123', (string)$restingPower);
Severity: Minor
Found in tests/Stamina/RestPowerTest.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status