Update PHPStan packages to v2 (major) #2246
Annotations
6 errors and 1 warning
PHPStan:
src/Protocol/Buffer.php#L290
Method Lcobucci\Kafka\Protocol\Buffer::unpack() should return int but returns mixed.
|
PHPStan:
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.
|
PHPStan:
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>.
|
PHPStan:
src/Protocol/Schema/Field.php#L35
Parameter #1 $structure of method Lcobucci\Kafka\Protocol\Schema\Field::extractValue() expects array<string, mixed>, array<mixed> given.
|
PHPStan:
src/Protocol/Schema/Field.php#L57
Parameter #1 $structure of method Lcobucci\Kafka\Protocol\Schema\Field::extractValue() expects array<string, mixed>, array<mixed> given.
|
PHPStan
Process completed with exit code 2.
|
Get composer cache directory
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/
|
Loading