Skip to content

Upgrade to monolog3 #447

Upgrade to monolog3

Upgrade to monolog3 #447

Triggered via pull request January 25, 2024 13:26
Status Failure
Total duration 52s
Artifacts

ci.yml

on: pull_request
Matrix: PHP-CS-Fixer
Matrix: PHPSpec
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 6 warnings
PHPSpec (8.1)
Process completed with exit code 1.
PHPStan (8.1): src/Bridge/GoogleCloud/Logging/Formatter/StdOutFormatter.php#L27
Method Instrumentation\Bridge\GoogleCloud\Logging\Formatter\StdOutFormatter::normalize() has parameter $data with no type specified.
PHPStan (8.1): src/Bridge/GoogleCloud/Logging/Formatter/StdOutFormatter.php#L27
Return type mixed of method Instrumentation\Bridge\GoogleCloud\Logging\Formatter\StdOutFormatter::normalize() is not covariant with return type mixed of method Monolog\Formatter\JsonFormatter::normalize().
PHPStan (8.1): src/Bridge/GoogleCloud/Logging/Formatter/StdOutFormatter.php#L33
Cannot access offset 'datetime' on array<array|bool|float|int|object|string|null>|bool|float|int|object|string|null.
PHPStan (8.1): src/Bridge/GoogleCloud/Logging/Formatter/StdOutFormatter.php#L34
Cannot access offset 'timestamp' on array<array|bool|float|int|object|string|null>|bool|float|int|object|string|null.
PHPStan (8.1): src/Logging/Formatter/JsonFormatter.php#L31
Cannot access offset 'message' on array<array|bool|float|int|object|string|null>|bool|float|int|object|string|null.
PHPStan (8.1): src/Logging/Processor/NormalizeExceptionProcessor.php#L19
Readonly property Monolog\LogRecord::$context is assigned outside of its declaring class.
PHPStan (8.1)
Process completed with exit code 1.
PHP-CS-Fixer (8.1)
Process completed with exit code 8.
PHPSpec (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPSpec (8.1)
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/
PHPStan (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.1)
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/
PHP-CS-Fixer (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP-CS-Fixer (8.1)
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/