eveseat/eveapi

View on GitHub
src/Models/Sde/Moon.php

Summary

Maintainability
A
0 mins
Test Coverage

The method moon_report is not named in camelCase.
Open

    public function moon_report()
    {
        return $this->hasOne(UniverseMoonReport::class, 'moon_id', 'moon_id');
    }
Severity: Minor
Found in src/Models/Sde/Moon.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

The method solar_system is not named in camelCase.
Open

    public function solar_system()
    {
        return $this->belongsTo(SolarSystem::class, 'system_id', 'system_id');
    }
Severity: Minor
Found in src/Models/Sde/Moon.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