-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Spyc to 0.6.2: Fixes parsing error array entry on multiple lines #5
Comments
Hi @blynx, thanks for the hint. I updated the dev branch. Will not merge into master just yet since there have been a couple of updates. |
Nice! Will the other updates actually handle the Built my own module/wrapper for the PECL yaml extension now. Maybe you could consider making this optional? Or use Spyc as a fallback. |
Where is this wrapper? I could build in, that it uses that module, if it exists (is installed). |
|
Uhhmm, yep, I thought WireData/Array support them anyway so it doesn't really matter - but I don't remember now what setting I actually used! Thats true for objects ... Oh, it's almost nothing, basically just replace the yaml parsing function somehow:
This is the extension: https://pecl.php.net/package/yaml |
@blynx Updated the dev branch to include your code. |
Hi,
I had a parsing issue where FieldtypeYaml threw the "Current level has both int and str keys, ..." exception. Spyc didn't correctly parse an array like this:
I replaced Spyc with the newest version and it solved that problem.
https://github.com/mustangostang/spyc/
Cheers,
Steffen
The text was updated successfully, but these errors were encountered: