eidng8/sttbot

View on GitHub
tests/Wiki/Templates/CrewListTest.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method testNew has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testNew()
    {
        $api = $this->newApiInstance();
        $text = (file_get_contents(
            static::DIR_SAMPLE . '/Crew-crew_member_list.txt'
Severity: Major
Found in tests/Wiki/Templates/CrewListTest.php - About 2 hrs to fix

Method testTuvix has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testTuvix()
    {
        $crew = $this->wiki->crew();
        $member = $crew->byName('Tuvix');
        $this->assertInstanceOf(CrewMember::class, $member);
Severity: Minor
Found in tests/Wiki/Templates/CrewListTest.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status