Skip to content

Commit 1ad0a51

Browse files
jakejackson1claude
authored andcommitted
Add PHP 8.6 support
Backport of #160 to the 4.3 branch: allow ~8.6.0 in composer.json and add 8.6 to the PHPUnit matrix. The test change in #160 is not needed here. testFailWriteXMLReportsWarning, which asserted the exact warning text PHP 8.6 changed, was added on main after 4.2.0. (cherry picked from commit 281a375) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 6599a11 commit 1ad0a51

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/unit-testing.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
10+
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ]
1111
include:
1212
- php: '8.3'
1313
report: true

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ QueryPath Changelog
33

44
# Unreleased changes
55

6-
-
6+
- Add support for PHP 8.6
77

88
# 4.1.0
99

‎composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gravitypdf/querypath",
33
"type": "library",
4-
"description": "PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP 7.0 to 8.5 support",
4+
"description": "PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP 7.0 to 8.6 support",
55
"homepage": "https://github.com/gravitypdf/querypath",
66
"license": "MIT",
77
"keywords": [
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
26+
"php": "^7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0",
2727
"masterminds/html5": "^2.0"
2828
},
2929
"autoload": {

0 commit comments

Comments
 (0)