Skip to content

Commit

Permalink
2.3.0
Browse files Browse the repository at this point in the history
- Require PHP >= 8.2.*
- Require symfony/css-selector >= 7.0 (for Laravel 11 compat)
- Re-add test.php
  • Loading branch information
Perry Rylance committed Apr 27, 2024
1 parent 87ee349 commit 8fcbc6b
Show file tree
Hide file tree
Showing 5 changed files with 689 additions and 558 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
vendor
composer.lock
.phpdoc/
.phpdoc/
.phpunit.result.cache
2 changes: 1 addition & 1 deletion .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":1,"defects":{"DOMDocumentTest::testSortAndOrder":8},"times":{"DOMDocumentTest::testQuerySelector":0.022,"DOMDocumentTest::testSortAndOrder":0.107,"DOMDocumentTest::testChildrenFiltering":0.322,"DOMDocumentTest::testBeforeAfterPrevNext":0.009,"DOMDocumentTest::testClassManipulation":0.003,"DOMDocumentTest::testInlineCss":0.004,"DOMDocumentTest::testTextClear":0.003,"DOMDocumentTest::testHtmlStringManipulation":0.004,"DOMDocumentTest::testHtmlClear":0.003,"DOMDocumentTest::testAttributeHandling":0.003,"DOMDocumentTest::testDataAttributeInterface":0.023,"DOMDocumentTest::testNodeRemoval":0.004,"DOMDocumentTest::testNodeClearance":0.004,"DOMDocumentTest::testWrappingAndClosest":0.005,"DOMDocumentTest::testNodeReplacement":0.004,"DOMDocumentTest::testFragmentHandling":0.133,"DOMDocumentTest::testListPopulation":0.02,"DOMDocumentTest::testLinkConcatenation":0.004,"DOMDocumentTest::testCheckboxValueHandling":0.004,"DOMDocumentTest::testRadioValueHandling":0.004,"DOMDocumentTest::testCheckboxPropHandling":0.102,"DOMDocumentTest::testRadioPropHandling":0.004,"DOMDocumentTest::testHtmlParsing":0.004,"DOMDocumentTest::testShorthandMethod":0.034,"DOMDocumentTest::testCloneNode":0.078,"DOMDocumentTest::testToArray":0.127,"DOMDocumentTest::testPhpEvaluation":0.011,"DOMDocumentTest::testNoPhpEvaluation":0.001,"DOMDocumentTest::testImport":0.004,"DOMDocumentTest::testOutputNotEmpty":0.1}}
{"version":1,"defects":{"DOMDocumentTest::testSortAndOrder":8,"DOMDocumentTest::testPhpEvaluation":8,"DOMDocumentTest::testNoPhpEvaluation":8},"times":{"DOMDocumentTest::testQuerySelector":0.026,"DOMDocumentTest::testSortAndOrder":0.006,"DOMDocumentTest::testChildrenFiltering":0.007,"DOMDocumentTest::testBeforeAfterPrevNext":0.011,"DOMDocumentTest::testClassManipulation":0.004,"DOMDocumentTest::testInlineCss":0.005,"DOMDocumentTest::testTextClear":0.004,"DOMDocumentTest::testHtmlStringManipulation":0.005,"DOMDocumentTest::testHtmlClear":0.004,"DOMDocumentTest::testAttributeHandling":0.004,"DOMDocumentTest::testDataAttributeInterface":0.005,"DOMDocumentTest::testNodeRemoval":0.004,"DOMDocumentTest::testNodeClearance":0.005,"DOMDocumentTest::testWrappingAndClosest":0.008,"DOMDocumentTest::testNodeReplacement":0.004,"DOMDocumentTest::testFragmentHandling":0.002,"DOMDocumentTest::testListPopulation":0.004,"DOMDocumentTest::testLinkConcatenation":0.004,"DOMDocumentTest::testCheckboxValueHandling":0.004,"DOMDocumentTest::testRadioValueHandling":0.004,"DOMDocumentTest::testCheckboxPropHandling":0.006,"DOMDocumentTest::testRadioPropHandling":0.005,"DOMDocumentTest::testHtmlParsing":0.004,"DOMDocumentTest::testShorthandMethod":0.005,"DOMDocumentTest::testCloneNode":0.002,"DOMDocumentTest::testToArray":0.005,"DOMDocumentTest::testPhpEvaluation":0.101,"DOMDocumentTest::testNoPhpEvaluation":0.001,"DOMDocumentTest::testImport":0.004,"DOMDocumentTest::testOutputNotEmpty":0.007}}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "perry-rylance/dom-document",

"version": "2.2.2",
"version": "2.3.0",
"minimum-stability": "stable",

"description": "An extension of PHP's DOMDocument library. This library implements many common jQuery functions, adds support for HTML5, CSS selectors, method chaining and performing operations on sets of matched results.",
Expand All @@ -21,10 +21,10 @@
],

"require": {
"php": ">=7.4.0",
"php": ">=8.2.0",
"ext-dom": "*",
"masterminds/html5": "^2.7",
"symfony/css-selector": "^5.1"
"symfony/css-selector": "^7.0"
},

"require-dev": {
Expand Down
Loading

0 comments on commit 8fcbc6b

Please sign in to comment.