fireguard/form

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

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function testRender()
    {
        $element = new SelectElement('name-for-select');
        $this->assertEquals(
            '<div id="name-for-select-form-group" class="form-group" ><select  name="name-for-select" id="name-for-select-id" class="form-control "><option value="" selected="selected"></option></select><div class="error-message" id="name-for-select-input-message"></div></div>',
Severity: Minor
Found in tests/Form/Elements/SelectElementTest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status