mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-14 12:06:40 +00:00
Branch release210 Will Not Be Updated for Php 8.5 (#4605)
* Branch release210 Will Not Be Updated for Php 8.5 Security releases only from this point on. * Fix Phpstan Problem
This commit is contained in:
@@ -16,10 +16,6 @@ jobs:
|
||||
- '8.3'
|
||||
- '8.4'
|
||||
|
||||
include:
|
||||
- php-version: 'nightly'
|
||||
experimental: true
|
||||
|
||||
name: PHP ${{ matrix.php-version }}
|
||||
|
||||
steps:
|
||||
|
||||
+1
-4
@@ -12,9 +12,6 @@
|
||||
"spreadsheet"
|
||||
],
|
||||
"config": {
|
||||
"platform": {
|
||||
"php" : "8.0.99"
|
||||
},
|
||||
"process-timeout": 600,
|
||||
"sort-packages": true,
|
||||
"allow-plugins": {
|
||||
@@ -66,7 +63,7 @@
|
||||
]
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"php": ">=8.0.0 <8.5.0",
|
||||
"ext-ctype": "*",
|
||||
"ext-dom": "*",
|
||||
"ext-fileinfo": "*",
|
||||
|
||||
@@ -170,7 +170,7 @@ class Html extends BaseReader
|
||||
private function readEnding(): string
|
||||
{
|
||||
$meta = stream_get_meta_data($this->fileHandle);
|
||||
$filename = $meta['uri']; // @phpstan-ignore-line
|
||||
$filename = $meta['uri'];
|
||||
|
||||
$size = (int) filesize($filename);
|
||||
if ($size === 0) {
|
||||
|
||||
Reference in New Issue
Block a user