Skip to content

Commit ef9f6f3

Browse files
authored
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
1 parent 1fdee23 commit ef9f6f3

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ jobs:
1616
- '8.3'
1717
- '8.4'
1818

19-
include:
20-
- php-version: 'nightly'
21-
experimental: true
22-
2319
name: PHP ${{ matrix.php-version }}
2420

2521
steps:

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
"spreadsheet"
1313
],
1414
"config": {
15-
"platform": {
16-
"php" : "8.0.99"
17-
},
1815
"process-timeout": 600,
1916
"sort-packages": true,
2017
"allow-plugins": {
@@ -66,7 +63,7 @@
6663
]
6764
},
6865
"require": {
69-
"php": "^8.0",
66+
"php": ">=8.0.0 <8.5.0",
7067
"ext-ctype": "*",
7168
"ext-dom": "*",
7269
"ext-fileinfo": "*",

src/PhpSpreadsheet/Reader/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private function readBeginning(): string
170170
private function readEnding(): string
171171
{
172172
$meta = stream_get_meta_data($this->fileHandle);
173-
$filename = $meta['uri']; // @phpstan-ignore-line
173+
$filename = $meta['uri'];
174174

175175
$size = (int) filesize($filename);
176176
if ($size === 0) {

0 commit comments

Comments
 (0)