Skip to content

Commit 962fd8d

Browse files
authored
Merge pull request #272 from Masterminds/copilot/drop-support-for-php-5-x
Drop PHP 5.x support, require PHP 7.0+
2 parents 6131854 + 07a0502 commit 962fd8d

5 files changed

Lines changed: 6 additions & 1564 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
php-version:
18-
- "5.3"
19-
- "5.4"
18+
- "7.0"
2019
- "7.4"
2120
- "8.0"
2221
- "8.1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ HTML5 provides the following features.
2828
- Event-based (SAX-like) parser
2929
- A DOM tree builder
3030
- Interoperability with [QueryPath](https://github.com/technosophos/querypath)
31-
- Runs on **PHP** 5.3.0 or newer
31+
- Runs on **PHP** 7.0 or newer
3232

3333
[![CI](https://github.com/Masterminds/html5-php/actions/workflows/ci.yaml/badge.svg)](https://github.com/Masterminds/html5-php/actions/workflows/ci.yaml)
3434
[![Latest Stable Version](https://poser.pugx.org/masterminds/html5/v/stable.png)](https://packagist.org/packages/masterminds/html5)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
],
2222
"require" : {
2323
"ext-dom": "*",
24-
"php" : ">=5.3.0"
24+
"php" : ">=7.0"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit" : "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9 || ^10"
27+
"phpunit/phpunit" : "^6 || ^7 || ^8 || ^9 || ^10"
2828
},
2929
"autoload": {
3030
"psr-4": {"Masterminds\\": "src"}

0 commit comments

Comments
 (0)