src/Form/Control/Password.php

Summary

Maintainability
A
0 mins
Test Coverage

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 17 and the first side effect is on line 9.
Open

<?php

Possible parse error: class missing opening or closing brace
Open

class Password extends Line

Possible parse error: class missing opening or closing brace
Open

class Password extends Line

Inline control structures are not allowed
Open

        if ($this->revealEye && !$this->disabled) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 0 spaces, found 4
Open

    public bool $revealEye = true;

Line indented incorrectly; expected 0 spaces, found 4
Open

    public string $inputType = 'password';

Line indented incorrectly; expected 4 spaces, found 8
Open

        if ($this->revealEye) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    protected function init(): void

Line indented incorrectly; expected 8 spaces, found 12
Open

            if ($this->disabled) {

Line indented incorrectly; expected 8 spaces, found 12
Open

            }

Line indented incorrectly; expected 0 spaces, found 4
Open

    protected function recursiveRender(): void

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

There are no issues that match your filters.

Category
Status