Remove a few mixed type #7553
main.yml
on: pull_request
phpdoc-types
7s
php-cs-fixer
1m 50s
phpcs
21s
versions
30s
phpstan
1m 23s
coverage
15m 54s
release
0s
Matrix: test
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.
|