Skip to content

Remove a few mixed type #7553

Remove a few mixed type

Remove a few mixed type #7553

Triggered via pull request January 8, 2024 02:06
@PowerKiKiPowerKiKi
synchronize #3860
powerkiki
Status Failure
Total duration 16m 6s
Artifacts

main.yml

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

Annotations

10 errors
phpstan: samples/Reading_workbook_data/Custom_properties.php#L41
Parameter #2 $timestamp of function date expects int|null, bool|float|int|string|null given.
phpstan: src/PhpSpreadsheet/Document/Properties.php#L407
Call to function is_object() with bool|float|int|string|null will always evaluate to false.
phpstan: src/PhpSpreadsheet/Document/Properties.php#L408
Property PhpOffice\PhpSpreadsheet\Document\Properties::$customProperties (array<array{value: bool|float|int|string, type: string}>) does not accept non-empty-array<array{value: bool|float|int|string|null, type: string}>.
phpstan: src/PhpSpreadsheet/Document/Properties.php#L473
Parameter #1 $timestamp of static method PhpOffice\PhpSpreadsheet\Document\Properties::intOrFloatTimestamp() expects float|int|string|null, bool|float|int|string|null given.
phpstan: src/PhpSpreadsheet/Writer/Ods/Meta.php#L99
Parameter #1 $rawTextData of method PhpOffice\PhpSpreadsheet\Shared\XMLWriter::writeRawData() expects array<string>|string|null, bool|float|int|string|null given.
phpstan: src/PhpSpreadsheet/Writer/Ods/Meta.php#L109
Parameter #1 $date of static method PhpOffice\PhpSpreadsheet\Shared\Date::dateTimeFromTimestamp() expects string, bool|float|int|string given.
phpstan: src/PhpSpreadsheet/Writer/Ods/Meta.php#L114
Parameter #1 $rawTextData of method PhpOffice\PhpSpreadsheet\Shared\XMLWriter::writeRawData() expects array<string>|string|null, bool|float|int|string|null given.
phpstan: src/PhpSpreadsheet/Writer/Xlsx/DocProps.php#L219
Parameter #2 $content of method XMLWriter::writeElement() expects string|null, bool|float|int|string|null given.
phpstan: src/PhpSpreadsheet/Writer/Xlsx/DocProps.php#L238
Parameter #2 $content of method XMLWriter::writeElement() expects string|null, bool|float|int|string|null given.
phpstan
Process completed with exit code 1.