Skip to content

Add stream support to IReader #7242

Add stream support to IReader

Add stream support to IReader #7242

Triggered via pull request October 5, 2023 07:54
Status Failure
Total duration 15m 52s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

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

Annotations

11 errors and 4 warnings
phpstan: src/PhpSpreadsheet/Reader/BaseReader.php#L163
Method PhpOffice\PhpSpreadsheet\Reader\BaseReader::loadSpreadsheetFromFile() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/BaseReader.php#L175
Method PhpOffice\PhpSpreadsheet\Reader\BaseReader::load() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/BaseReader.php#L189
Method PhpOffice\PhpSpreadsheet\Reader\BaseReader::openFile() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/BaseReader.php#L213
Method PhpOffice\PhpSpreadsheet\Reader\BaseReader::listWorksheetInfo() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/BaseReader.php#L224
Method PhpOffice\PhpSpreadsheet\Reader\BaseReader::listWorksheetNames() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/Csv.php#L220
Method PhpOffice\PhpSpreadsheet\Reader\Csv::listWorksheetInfo() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/Csv.php#L258
Method PhpOffice\PhpSpreadsheet\Reader\Csv::loadSpreadsheetFromFile() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/Csv.php#L279
Method PhpOffice\PhpSpreadsheet\Reader\Csv::openFileOrMemory() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/Csv.php#L347
Method PhpOffice\PhpSpreadsheet\Reader\Csv::loadIntoExisting() has parameter $file with no type specified.
phpstan: src/PhpSpreadsheet/Reader/Csv.php#L355
Method PhpOffice\PhpSpreadsheet\Reader\Csv::loadStringOrFile() has parameter $file with no type specified.
php-cs-fixer
Process completed with exit code 1.
php-cs-fixer: tests/PhpSpreadsheetTests/Reader/Csv/CsvLoadFromStringTest.php#L1
Found violation(s) of type: fopen_flags
php-cs-fixer: tests/PhpSpreadsheetTests/Reader/Csv/CsvTest.php#L1
Found violation(s) of type: fopen_flags
php-cs-fixer: src/PhpSpreadsheet/Reader/IReader.php#L1
Found violation(s) of type: no_superfluous_phpdoc_tags
php-cs-fixer: src/PhpSpreadsheet/Reader/BaseReader.php#L1
Found violation(s) of type: elseif