citeproc-php
citeproc-php copied to clipboard
Trouble with Collection version (hasKey Error)
Version 4 of the collection package appears to be incompatible with the current version of citeproc-php.
I have this error :
Uncaught Error: Call to undefined method Seboettg\\Collection\\ArrayList::hasKey() in /XXXXX/vendor/seboettg/citeproc-php/src/Locale/LocaleXmlParserTrait.php:132
I fix my problem with define a max version in the composer.json
"seboettg/collection": ">=3.1.0,<4.0.0",
In your opinion, is-it correct ?
Thanks @atellier2, it works for me.