Skip to content

feat: adds supports for 7.4 and compat with psr/log 1 #31

feat: adds supports for 7.4 and compat with psr/log 1

feat: adds supports for 7.4 and compat with psr/log 1 #31

Triggered via push November 28, 2023 17:50
Status Failure
Total duration 49s
Artifacts
coding-standards-analysis-php  /  coding-standards-php
16s
coding-standards-analysis-php / coding-standards-php
Matrix: lint-php / lint-php
Matrix: static-code-analysis-php
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 13 warnings
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L27
Typed properties are not supported in PHP 7.3 or earlier
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L28
Typed properties are not supported in PHP 7.3 or earlier
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L120
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$method'.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/AbstractLoggerV1.php#L33
Short array syntax must be used to define arrays
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/AbstractLoggerV1.php#L49
Short array syntax must be used to define arrays
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/AbstractLoggerV1.php#L64
Short array syntax must be used to define arrays
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/AbstractLoggerV1.php#L78
Short array syntax must be used to define arrays
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/AbstractLoggerV1.php#L94
Short array syntax must be used to define arrays
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/AbstractLoggerV1.php#L107
Short array syntax must be used to define arrays
coding-standards-analysis-php / coding-standards-php
Process completed with exit code 2.
lint-php / lint-php (8.0)
The PHP_MATRIX input is deprecated and will be removed in the future. Please create a matrix in your caller workflow and pass it to the PHP_VERSION input.
lint-php / lint-php (8.2)
The PHP_MATRIX input is deprecated and will be removed in the future. Please create a matrix in your caller workflow and pass it to the PHP_VERSION input.
lint-php / lint-php (8.1)
The PHP_MATRIX input is deprecated and will be removed in the future. Please create a matrix in your caller workflow and pass it to the PHP_VERSION input.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L83
Line 83 exceeds 100 characters; contains 105 characters.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L93
Line 93 exceeds 100 characters; contains 105 characters.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L120
Line 120 exceeds 100 characters; contains 180 characters.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L120
Silencing errors is strongly discouraged. Use proper error checking instead. Found: @trigger_error(sprintf('Since psr/log-util 1.1: Method "%s" is deprecated and should not be called. Use method "%s" instead.'...
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L122
Line 122 exceeds 100 characters; contains 121 characters.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L123
Line 123 exceeds 100 characters; contains 102 characters.
coding-standards-analysis-php / coding-standards-php: tests/src/TestLogger/TestLoggerV2V3.php#L127
call_user_func and call_user_func_array are not allowed