Fix PHPStan warnings and PHP 8.5 deprecations #251
continuous-integration.yml
on: pull_request
Static Analysis
5m 57s
Matrix: Lint
Annotations
5 errors
|
Lint (8.5, true, --ignore-platform-reqs)
Process completed with exit code 1.
|
|
Static Analysis
Process completed with exit code 1.
|
|
Static Analysis:
getid3/module.graphic.png.php#L163
Offset 'color_type' does not exist on non-empty-array<int, non-empty-array<'blend_op'|'crc'|'data'|'data_length'|'delay'|'delay_den'|'delay_num'|'dispose_op'|'flags'|'height'|'sequence_number'|'type_raw'|'type_text'|'width'|'x_offset'|'y_offset'|int, non-empty-array<'ancilliary'|'blend_op'|'crc'|'data'|'data_length'|'delay'|'delay_den'|'delay_num'|'dispose_op'|'flags'|'height'|'private'|'reserved'|'safe_to_copy'|'sequence_number'|'type_raw'|'type_text'|'width'|'x_offset'|'y_offset'|int, array{ancilliary: bool, private: bool, reserved: bool, safe_to_copy: bool}|array{sequence_number: float|int|false, width: float|int|false, height: float|int|false, x_offset: float|int|false, y_offset: float|int|false, delay_num: float|int|false, delay_den: float|int|false, dispose_op: float|int|false, ...}|bool|float|int|string>|bool|float|int|string>|bool|float|int|string>|float|int.
|
|
Static Analysis:
getid3/module.audio.voc.php#L72
Offset int<0, 255> does not exist on array{}.
|
|
Static Analysis:
getid3/module.audio.mp3.php#L1181
Offset mixed does not exist on array{}.
|