phpunit-json-assert icon indicating copy to clipboard operation
phpunit-json-assert copied to clipboard

Support justinrainbow/json-schema ^6.0

Open yariksheptykin opened this issue 5 months ago • 1 comments

I just tried to install this package and got v1.0.0 installed by composer. It looks like composer hat to fallback to this old version because we require"justinrainbow/json-schema": "^6.4.2", in our application. v1.0.0 is, however, not compatible with phpunit v9.x, which we are requiring for --dev. Is there any any issue with adding support for justinrainbow/json-schema v6? Maybe as "justinrainbow/json-schema": "^5.0 || ^6.0"?

yariksheptykin avatar Jul 14 '25 14:07 yariksheptykin

I've raised a PR https://github.com/martin-helmich/phpunit-json-assert/pull/61#issue-3360541682 so let see, maybe @martin-helmich will have a chance to take a look as soon as he can.

sidz avatar Aug 27 '25 19:08 sidz

For those who are interested in: I had to fork and release new version with json-schema 6 support.

https://packagist.org/packages/sidz/phpunit-json-assert

cc @yariksheptykin

sidz avatar Dec 24 '25 10:12 sidz