Skip to content

feat: EB-27262 Add log for request/response #88

feat: EB-27262 Add log for request/response

feat: EB-27262 Add log for request/response #88

Triggered via pull request October 24, 2024 13:59
Status Failure
Total duration 3m 24s
Artifacts 2

php.code_quality.yaml

on: pull_request
Matrix: Code quality checks
Report PHP code quality
6s
Report PHP code quality
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 37 warnings
Code quality checks (phpcs)
Process completed with exit code 2.
Code quality checks (phpstan): EventSubscriber/LogRequestSubscriber.php#L32
Cannot call method info() on Psr\Log\LoggerInterface|null.
Code quality checks (phpstan): EventSubscriber/LogRequestSubscriber.php#L48
Cannot call method warning() on Psr\Log\LoggerInterface|null.
Code quality checks (phpstan): EventSubscriber/LogRequestSubscriber.php#L55
Parameter #1 $content of method ETSGlobal\LogBundle\EventSubscriber\LogRequestSubscriber::splitContent() expects string, array given.
Code quality checks (phpstan): EventSubscriber/LogTerminateSubscriber.php#L27
Parameter #1 $content of method ETSGlobal\LogBundle\EventSubscriber\LogTerminateSubscriber::isContentExceedMaxSize() expects string, string|false given.
Code quality checks (phpstan): EventSubscriber/LogTerminateSubscriber.php#L30
Cannot call method info() on Psr\Log\LoggerInterface|null.
Code quality checks (phpstan): EventSubscriber/LogTerminateSubscriber.php#L45
Cannot call method info() on Psr\Log\LoggerInterface|null.
Code quality checks (phpstan): EventSubscriber/LogTerminateSubscriber.php#L52
Parameter #1 $content of method ETSGlobal\LogBundle\EventSubscriber\LogTerminateSubscriber::splitContent() expects string, string|false given.
Code quality checks (phpstan)
Process completed with exit code 2.
php (20:1).PSR2.Methods.FunctionCallSignature.Indent at /home/runner/work/LogBundle/LogBundle/EventSubscriber/LogTrait.php (20:1): php (20:1)#L1
Multi-line function call not indented correctly; expected 8 spaces but found 12
Code quality checks (phpcs)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpcs)
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code quality checks (phpcs)
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code quality checks (phpcs)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpcs)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpcs)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpcs)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpstan)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpstan)
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code quality checks (phpstan)
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code quality checks (phpstan)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpstan)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpstan)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpstan)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code quality checks (phpmd)
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code quality checks (phpmd)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpmd)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpunit)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpunit)
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code quality checks (phpunit)
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/setup-php@b75c104ca87c371bbc71be81a4e5dd5a5d298241, actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code quality checks (phpunit)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpunit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpunit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality checks (phpunit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Report PHP code quality
The following actions uses node12 which is deprecated and will be forced to run on node16: mikepenz/action-junit-report@127c778ac944abc0f48a5103964304bab7eb208b. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Report PHP code quality
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741, mikepenz/action-junit-report@127c778ac944abc0f48a5103964304bab7eb208b. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Report PHP code quality
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Report PHP code quality
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Report PHP code quality
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Report PHP code quality
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "phpcs-reports", "phpunit-reports". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
phpcs-reports Expired
12 KB
phpunit-reports Expired
25.7 KB