Skip to content

Replace OperatorInterface::getOperator() with OperatorInterface::NAME constant #2816

Replace OperatorInterface::getOperator() with OperatorInterface::NAME constant

Replace OperatorInterface::getOperator() with OperatorInterface::NAME constant #2816

Triggered via pull request December 3, 2024 09:15
Status Failure
Total duration 2m 7s
Artifacts

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
phpcs: src/Builder/Encoder/OperatorEncoder.php#L120
Function assert() should not be referenced via a fallback global name, but via a use statement.
phpcs: src/Builder/Encoder/OperatorEncoder.php#L120
Function is_string() should not be referenced via a fallback global name, but via a use statement.
phpcs: generator/src/Definition/OperatorDefinition.php#L46
Expected 1 space after NOT operator; 0 found
phpcs
Process completed with exit code 1.