Skip to content

Add cpu usage processor #648

Add cpu usage processor

Add cpu usage processor #648

Re-run triggered June 20, 2023 12:20
Status Failure
Total duration 33s
Artifacts

phpstan.yml

on: pull_request
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan (8.1): src/Monolog/Handler/FilterHandler.php#L1
Ignored error pattern #^Instanceof between Monolog\\Handler\\HandlerInterface and Monolog\\Handler\\HandlerInterface will always evaluate to true\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Handler/FilterHandler.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Handler/FingersCrossedHandler.php#L1
Ignored error pattern #^Instanceof between Monolog\\Handler\\HandlerInterface and Monolog\\Handler\\HandlerInterface will always evaluate to true\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Handler/MandrillHandler.php#L1
Ignored error pattern #^Instanceof between Swift_Message and Swift_Message will always evaluate to true\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Handler/MandrillHandler.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Handler/SamplingHandler.php#L1
Ignored error pattern #^Instanceof between Monolog\\Handler\\HandlerInterface and Monolog\\Handler\\HandlerInterface will always evaluate to true\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Handler/SamplingHandler.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Processor/CPUUsageProcessor.php#L62
Cannot access offset 'cpu_usage' on array|DateTimeImmutable|int|string|null.
PHPStan (8.1): src/Monolog/Processor/UidProcessor.php#L1
Ignored error pattern #^Comparison operation "\<" between int\<1, 32\> and 1 is always false\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Processor/UidProcessor.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Processor/UidProcessor.php#L1
Ignored error pattern #^Comparison operation "\>" between int\<1, 32\> and 32 is always false\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Processor/UidProcessor.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Utils.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function preg_replace_callback expects callable\(array\<int\|string, string\>\)\: string, Closure\(mixed\)\: array\<int, string\>\|string\|false given\.$# in path /home/runner/work/monolog/monolog/src/Monolog/Utils.php was not matched in reported errors.
PHPStan (8.1): src/Monolog/Utils.php#L202
Parameter #2 $callback of function preg_replace_callback expects callable(array<int|string, string>): string, Closure(mixed): (array<int, string>|string|false) given.
PHPStan (8.1)
Process completed with exit code 1.
PHPStan (8.1)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
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/