Skip to content

Commit 8a06e1b

Browse files
authored
Merge pull request #3160 from PHPOffice/Version_PHP74_Minimum
Drop support for PHP 7.3
2 parents f3c181d + 2ee4542 commit 8a06e1b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
experimental:
99
- false
1010
php-version:
11-
- '7.3'
1211
- '7.4'
1312
- '8.0'
1413
- '8.1'
14+
- '8.2'
1515

1616
include:
17-
- php-version: '8.2'
17+
- php-version: 'nightly'
1818
experimental: true
1919

2020
name: PHP ${{ matrix.php-version }}
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Delete composer lock file
4545
id: composer-lock
46-
if: ${{ matrix.php-version == '8.1' || matrix.php-version == '8.2' }}
46+
if: ${{ matrix.php-version == '8.1' || matrix.php-version == '8.2' || matrix.php-version == 'nightly' }}
4747
run: |
4848
rm composer.lock
4949
echo "::set-output name=flags::--ignore-platform-reqs"
@@ -153,7 +153,7 @@ jobs:
153153
run: composer install --no-progress --prefer-dist --optimize-autoloader
154154

155155
- name: Code Version Compatibility check with PHP_CodeSniffer
156-
run: ./vendor/bin/phpcs -q --report-width=200 --report=summary,full src/ --standard=PHPCompatibility --runtime-set testVersion 7.3-
156+
run: ./vendor/bin/phpcs -q --report-width=200 --report=summary,full src/ --standard=PHPCompatibility --runtime-set testVersion 7.4-
157157

158158
phpstan:
159159
runs-on: ubuntu-latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ allow you to read and write various spreadsheet file formats such as Excel and L
1616
LTS: Support for PHP versions will only be maintained for a period of six months beyond the
1717
[end of life of that PHP version](https://www.php.net/eol.php).
1818

19-
Currently the required PHP minimum version is PHP __7.3__.
19+
Currently the required PHP minimum version is PHP __7.4__.
2020

2121
See the `composer.json` for other requirements.
2222

@@ -36,7 +36,7 @@ If you are building your installation on a development machine that is on a diff
3636
},
3737
"config": {
3838
"platform": {
39-
"php": "7.3"
39+
"php": "7.4"
4040
}
4141
}
4242
}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
"php-cs-fixer fix --ansi"
5252
],
5353
"versions": [
54-
"phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 7.3- -n"
54+
"phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 7.4- -n"
5555
]
5656
},
5757
"require": {
58-
"php": "^7.3 || ^8.0",
58+
"php": "^7.4 || ^8.0",
5959
"ext-ctype": "*",
6060
"ext-dom": "*",
6161
"ext-fileinfo": "*",

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ allow you to read and write various spreadsheet file formats such as Excel and L
2424

2525
## Software requirements
2626

27-
PHP version 7.3 or newer to develop using PhpSpreadsheet. Other requirements, such as PHP extensions, are enforced by
27+
PHP version 7.4 or newer to develop using PhpSpreadsheet. Other requirements, such as PHP extensions, are enforced by
2828
composer. See the `require` section of [the composer.json file](https://github.com/PHPOffice/PhpSpreadsheet/blob/master/composer.json)
2929
for details.
3030

@@ -33,8 +33,8 @@ for details.
3333
LTS: Support for PHP versions will only be maintained for a period of six months beyond the
3434
[end of life of that PHP version](https://www.php.net/eol.php).
3535

36-
Currently the required PHP minimum version is PHP 7.3. The last PHP release was 7.3.33 on 6th December 2021, so PhpSpreadsheet will support PHP 7.3 until 6th June 2022.
37-
PHP 7.4 is officially [End of Life](https://www.php.net/supported-versions.php) on 28th November 2022, and PhpSpreadsheet will continue to support PHP 7.4 for six months after that date.
36+
Currently the required PHP minimum version is PHP 7.4. The last PHP release was 7.4.32 on 29th September 2022, and security support ends on 28th November 2022, so PhpSpreadsheet will support PHP 7.4 until 28th May 2023.
37+
PHP 8.0 is officially [End of Life](https://www.php.net/supported-versions.php) on 26th November 2023, and PhpSpreadsheet will continue to support PHP 8.0 for six months after that date.
3838

3939
See the `composer.json` for other requirements.
4040

@@ -60,7 +60,7 @@ If you are building your installation on a development machine that is on a diff
6060
},
6161
"config": {
6262
"platform": {
63-
"php": "7.3"
63+
"php": "7.4"
6464
}
6565
}
6666
}

samples/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_once 'Header.php';
44

55
$requirements = [
6-
'PHP 7.3.0' => version_compare(PHP_VERSION, '7.3.0', '>='),
6+
'PHP 7.4.0' => version_compare(PHP_VERSION, '7.4.0', '>='),
77
'PHP extension XML' => extension_loaded('xml'),
88
'PHP extension xmlwriter' => extension_loaded('xmlwriter'),
99
'PHP extension mbstring' => extension_loaded('mbstring'),

0 commit comments

Comments
 (0)