fireguard/form

View on GitHub
tests/Form/Elements/ButtonElementTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testRender has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testRender()
    {
        $element = new ButtonElement('name-for-btn');
        $this->assertEquals(
            '<button  name="name-for-btn" type="button" class="btn btn-default"> name-for-btn</button>',
Severity: Minor
Found in tests/Form/Elements/ButtonElementTest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status