Skip to content

Update PHPStan packages to v2 (major) #2219

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #2219

Triggered via pull request November 19, 2024 21:17
Status Failure
Total duration 25s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
Static Analysis (locked, 8.1, ubuntu-latest): src/Protocol/Buffer.php#L290
Method Lcobucci\Kafka\Protocol\Buffer::unpack() should return int but returns mixed.
Static Analysis (locked, 8.1, ubuntu-latest): src/Protocol/Schema.php#L1
Ignored error pattern #^Property Lcobucci\\Kafka\\Protocol\\Schema\:\:\$fields \(array\<int, Lcobucci\\Kafka\\Protocol\\Schema\\Field\>\) does not accept array\<int\|string, Lcobucci\\Kafka\\Protocol\\Schema\\Field\>\.$# in path /home/runner/work/kafka/kafka/src/Protocol/Schema.php was not matched in reported errors.
Static Analysis (locked, 8.1, ubuntu-latest): src/Protocol/Schema.php#L21
Property Lcobucci\Kafka\Protocol\Schema::$fields (list<Lcobucci\Kafka\Protocol\Schema\Field>) does not accept array<int|string, Lcobucci\Kafka\Protocol\Schema\Field>.
Static Analysis (locked, 8.1, ubuntu-latest): src/Protocol/Schema/Field.php#L35
Parameter #1 $structure of method Lcobucci\Kafka\Protocol\Schema\Field::extractValue() expects array<string, mixed>, array<mixed> given.
Static Analysis (locked, 8.1, ubuntu-latest): src/Protocol/Schema/Field.php#L57
Parameter #1 $structure of method Lcobucci\Kafka\Protocol\Schema\Field::extractValue() expects array<string, mixed>, array<mixed> given.
Static Analysis (locked, 8.1, ubuntu-latest)
Process completed with exit code 2.
Static Analysis (locked, 8.1, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Analysis (locked, 8.1, ubuntu-latest)
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/