Skip to content

Commit

Permalink
support for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jul 30, 2023
1 parent a1a203f commit c436144
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
php: ['8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2', '8.3']
sapi: ['php', 'php-cgi']

fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": ">=8.0 <8.3",
"php": ">=8.0 <8.4",
"ext-session": "*",
"ext-json": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Alternatively, you can download the whole package or [tracy.phar](https://github

| Tracy | compatible with PHP | compatible with browsers
|-----------|---------------|----------
| Tracy 2.10| PHP 8.0 – 8.2 | Chrome 64+, Firefox 69+, Safari 15.4+ and iOS Safari 15.4+
| Tracy 2.10| PHP 8.0 – 8.3 | Chrome 64+, Firefox 69+, Safari 15.4+ and iOS Safari 15.4+
| Tracy 2.9 | PHP 7.2 – 8.2 | Chrome 64+, Firefox 69+, Safari 13.1+ and iOS Safari 13.4+


Expand Down
56 changes: 2 additions & 54 deletions tests/Tracy/Dumper.toText().specials.dom.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,6 @@ Assert::match(
| childNodes: %a%
| entities: DOMNamedNodeMap #%d% ...
| firstChild: null
| internalSubset: null
| lastChild: null
| localName: null
| name: 'html'
| namespaceURI: null
| nextSibling: DOMElement #%d% see below
| nodeName: 'html'
| nodeType: 10
| nodeValue: null
| notations: DOMNamedNodeMap #%d% ...
| ownerDocument: DOMDocument #%d% RECURSION
| parentNode: DOMDocument #%d% RECURSION
| prefix: ''
| previousSibling: null
| publicId: ''
| systemId: ''
| textContent: ''
documentElement: DOMElement #%d%
| attributes: DOMNamedNodeMap #%d% ...
%A%
localName: null
namespaceURI: null
Expand All @@ -61,21 +42,7 @@ Assert::match(
nodeType: 13
nodeValue: null
ownerDocument: null
parentNode: null
prefix: ''
preserveWhiteSpace: true
previousSibling: null
recover: false
resolveExternals: false
standalone: true
strictErrorChecking: true
substituteEntities: false
textContent: 'Ahoj'
validateOnParse: false
version: null
xmlEncoding: null
xmlStandalone: true
xmlVersion: null
%A%
XX,
Dumper::toText($dom, [Dumper::DEPTH => 2]),
);
Expand All @@ -99,26 +66,7 @@ Assert::match(
items: array (1)
| 'class' => DOMAttr #%d%
| | attributes: null
| | baseURI: null
| | childNodes: DOMNodeList #%d% ...
| | firstChild: DOMText #%d% ...
| | lastChild: DOMText #%d% ...
| | localName: 'class'
| | name: 'class'
| | namespaceURI: null
| | nextSibling: null
| | nodeName: 'class'
| | nodeType: 2
| | nodeValue: 'a'
| | ownerDocument: DOMDocument #%d% ...
| | ownerElement: DOMElement #%d% ...
| | parentNode: DOMElement #%d% ...
| | prefix: ''
| | previousSibling: null
| | schemaTypeInfo: null
| | specified: true
| | textContent: 'a'
| | value: 'a'
%A%
XX,
Dumper::toText($namedNodeMap, [Dumper::DEPTH => 3]),
);
Expand Down

0 comments on commit c436144

Please sign in to comment.