data-fixtures
data-fixtures copied to clipboard
Fix PHPCR tests for PHPUnit 10
MockBuilder::addMethods()
is deprecated in PHPUnit 10.1 https://github.com/sebastianbergmann/phpunit/issues/5320
To run the tests with PHPCR, I have to add this to composer.json
:
"doctrine/phpcr-odm": "^1.8",
"jackalope/jackalope-fs": "*",
And run COMPOSER_ROOT_VERSION=1.99 composer update