Skip to content

A token value might be a float #166

A token value might be a float

A token value might be a float #166

Re-run triggered July 11, 2024 11:16
Status Failure
Total duration 21s
Artifacts

coding-standards.yml

on: pull_request
Matrix: Coding Standards / Coding Standards
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L287
Constant class@anonymous::T_NONE visibility missing.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L287
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L288
Constant class@anonymous::T_INTEGER visibility missing.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L289
Constant class@anonymous::T_FLOAT visibility missing.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L289
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L291
Method class@anonymous::getType() does not have parameter type hint nor @param annotation for its parameter $value.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L291
Method class@anonymous::getType() does not have return type hint nor @return annotation for its return value.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L293
Function is_numeric() should not be referenced via a fallback global name, but via a use statement.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L296
Function is_int() should not be referenced via a fallback global name, but via a use statement.
Coding Standards / Coding Standards (8.3): tests/AbstractLexerTest.php#L306
Method class@anonymous::getCatchablePatterns() does not have return type hint nor @return annotation for its return value.