Allow installation on PHP8.2 and run automated test suite against that version.
TODO
[x] Refactor QueryPathEventHandler::nthChild() so it doesn't create dynamic properties on DOMElement class. Consider creating a decorator class to handle this.
[x] Refactor QueryPathEventHandler::nthOfTypeChild() as above
Please check the type of change your PR introduces:
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[X] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):
What is the current behavior?
Composer won't install QueryPath on PHP8.2
What is the new behavior?
Composer will install QueryPath on PHP8.2
Does this introduce a breaking change?
[ ] Yes
[x] No
[ ] Unknown at this stage
Other information
This PR is currently set to draft, so that we can assess the status of PHP8.2 compatibility for this library. Once all identified issues are fixed under 8.2 it will be merged.
Allow installation on PHP8.2 and run automated test suite against that version.
TODO
QueryPathEventHandler::nthChild()
so it doesn't create dynamic properties onDOMElement
class. Consider creating a decorator class to handle this.QueryPathEventHandler::nthOfTypeChild()
as aboveQueryPathEventHandlerTest::testEmptySelector()
failurePull Request type
Please check the type of change your PR introduces:
What is the current behavior?
Composer won't install QueryPath on PHP8.2
What is the new behavior?
Composer will install QueryPath on PHP8.2
Does this introduce a breaking change?
Other information
This PR is currently set to draft, so that we can assess the status of PHP8.2 compatibility for this library. Once all identified issues are fixed under 8.2 it will be merged.