Skip to content

Update PHPStan packages to v2 (major) #2246

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #2246

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

static-analysis.yml

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

Annotations

6 errors and 1 warning
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 `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/