| @@ -202,9 +202,9 @@ | ||
| 202 | 202 | private function readEnding(): string |
| 203 | 203 | { |
| 204 | 204 | $meta = stream_get_meta_data($this->fileHandle); |
| 205 | 205 | // Phpstan incorrectly flags following line for Php8.2-, corrected in 8.3 |
| 206 | - $filename = $meta['uri']; //@phpstan-ignore-line | |
| 206 | + $filename = $meta['uri']; //@phpstan-ignore offsetAccess.notFound (fixable when Php < 8.3 is no longer possible) | |
| 207 | 207 | |
| 208 | 208 | clearstatcache(true, $filename); |
| 209 | 209 | $size = (int) filesize($filename); |
| 210 | 210 | if ($size === 0) { |
| @@ -370,15 +370,15 @@ | ||
| 370 | 370 | } |
| 371 | 371 | $sheet->setCellValue($column . $row, $attributeArray['data-value'] ?? $cellContent); |
| 372 | 372 | $sheet->setHyperlink($column . $row, $hyperlink); |
| 373 | 373 | } |
| 374 | - $this->dataArray[$row][$column] = $cellContent; // @phpstan-ignore-line | |
| 374 | + $this->dataArray[$row][$column] = $cellContent; // @phpstan-ignore property.deprecated (fixable when $this.data is removed) | |
| 375 | 375 | } |
| 376 | 376 | } else { |
| 377 | 377 | // We have a Rich Text run. |
| 378 | 378 | // I don't actually see any way to reach this line. |
| 379 | 379 | // TODO |
| 380 | - // @phpstan-ignore-next-line | |
| 380 | + // @phpstan-ignore property.deprecated (fixable when $this->data is removed) | |
| 381 | 381 | $this->dataArray[$row][$column] = 'RICH TEXT: ' . StringHelper::convertToString($cellContent); // @codeCoverageIgnore |
| 382 | 382 | } |
| 383 | 383 | $cellContentx = ''; |
| 384 | 384 | } |