Skip to content

2.x psr log and php multi compat #38

2.x psr log and php multi compat

2.x psr log and php multi compat #38

Triggered via pull request November 28, 2023 18:22
Status Failure
Total duration 46s
Artifacts

php-static-analysis.yml

on: pull_request
coding-standards-analysis-php  /  coding-standards-php
14s
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 14 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 (7.4)
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.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.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
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.