From 6115fb4ba35d872a9551dd92065fb16ac9202365 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Tue, 24 Aug 2021 14:19:27 +0200 Subject: [PATCH] support for PHP 8.1 --- .github/workflows/tests.yml | 2 +- composer.json | 2 +- readme.md | 2 +- tests/Tracy/Dumper.toText().specials.dom.phpt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4ba1fbeb9..6c1228780 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - php: ['7.2', '7.3', '7.4', '8.0'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1'] sapi: ['php', 'php-cgi'] fail-fast: false diff --git a/composer.json b/composer.json index 5eadb966a..de37e604d 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=7.2 <8.1", + "php": ">=7.2 <8.2", "ext-session": "*", "ext-json": "*" }, diff --git a/readme.md b/readme.md index 0ba7653bb..4abdd1825 100644 --- a/readme.md +++ b/readme.md @@ -49,7 +49,7 @@ Alternatively, you can download the whole package or [tracy.phar](https://github | Tracy | compatible with PHP | compatible with browsers |-----------|---------------|---------- -| Tracy 2.8 | PHP 7.2 – 8.0 | Chrome 55+, Firefox 53+, Safari 11+ and iOS Safari 11+ +| Tracy 2.8 | PHP 7.2 – 8.1 | Chrome 55+, Firefox 53+, Safari 11+ and iOS Safari 11+ | Tracy 2.7 | PHP 7.1 – 8.0 | Chrome 55+, Firefox 53+, MS Edge 16+, Safari 11+ and iOS Safari 11+ | Tracy 2.6 | PHP 7.1 – 8.0 | Chrome 49+, Firefox 45+, MS Edge 14+, Safari 10+ and iOS Safari 10.2+ | Tracy 2.5 | PHP 5.4 – 7.4 | Chrome 49+, Firefox 45+, MS Edge 12+, Safari 10+ and iOS Safari 10.2+ diff --git a/tests/Tracy/Dumper.toText().specials.dom.phpt b/tests/Tracy/Dumper.toText().specials.dom.phpt index a5607d085..cd036445d 100644 --- a/tests/Tracy/Dumper.toText().specials.dom.phpt +++ b/tests/Tracy/Dumper.toText().specials.dom.phpt @@ -132,6 +132,6 @@ XX Assert::match(<<<'XX' -DOMXPath #%d% +DOMXPath #%d%%A% XX , Dumper::toText($xpath, [Dumper::DEPTH => 1]));