Skip to content

Commit

Permalink
Install PHPUnit 11.5.x which support PHP 8.4
Browse files Browse the repository at this point in the history
And reports deprecations like the following:

9 tests triggered 3 PHP deprecations:

1) /Users/macbre/git/elecena/xml-iterator/src/XMLParser.php:65
Function xml_set_object() is deprecated since 8.4, provide a proper method callable to xml_set_*_handler() functions

However, on PHP 8.1 still use PHPUnit 10.x
  • Loading branch information
macbre committed Jan 13, 2025
1 parent 004e06d commit 229897c
Show file tree
Hide file tree
Showing 2 changed files with 1,280 additions and 700 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": "^8.1"
},
"require-dev": {
"phpunit/phpunit": "^10.3",
"phpunit/phpunit": "^10.3 || ^11.5",
"friendsofphp/php-cs-fixer": "^3.22"
},
"scripts": {
Expand Down
Loading

0 comments on commit 229897c

Please sign in to comment.