gavinggordon/htmlentities

View on GitHub

Showing 62 of 62 total issues

Expected 1 space after closing parenthesis; found 10
Open

        if (is_array($input)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 18
Open

                foreach ($chars as $index => $char) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 22
Open

                    if (in_array($char, $encodedChars)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 10
Open

        if (is_array($input)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Whitespace found at end of line
Open

                if (in_array($input, $decodedChars)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Whitespace found at end of line
Open

                foreach ($chars as $index => $char) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 18
Open

                if (in_array($char, $decodedChars)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after ELSE keyword; newline found
Open

                    else
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Whitespace found at end of line
Open

        if (is_array($input)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing brace; newline found
Open

                    }
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 18
Open

                if (in_array($char, $encodedChars)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Whitespace found at end of line
Open

        if (is_string($input)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after ELSE keyword; newline found
Open

                else
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing brace; newline found
Open

                }
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 14
Open

            foreach ($input as $index => $char) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 22
Open

                    if (in_array($char, $decodedChars)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after closing brace; newline found
Open

                    }
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Whitespace found at end of line
Open

            foreach ($input as $index => $char) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Whitespace found at end of line
Open

                if (in_array($char, $encodedChars)) 
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer

Expected 1 space after ELSE keyword; newline found
Open

                else
Severity: Minor
Found in src/HtmlEntities.php by phpcodesniffer
Severity
Category
Status
Source
Language