laravel-castable-data-transfer-object
laravel-castable-data-transfer-object copied to clipboard
Breaking changes from thecodingmachine/safe
Hey @jessarcher ,
I was raising this issue because thecodingmachine/safe
just released a new minor with breaking changes, renaming the options
flag in json_decode
into flags
and basically they won't support "named parameters" at the end of the day.
I was wondering what should be the correct solution to address this problem to submit a PR:
- Force the
thecodingmachine/safe
version to the previous one, dropping the^1.3
support; - Force
thecodingmachine/safe
to the current version, dropping the^1.3
support and renaming fromoptions
toflags
; - Just drop the named arguments into this project and leave everything else as-is (maybe the best solution?)
Thank you!
I just wanted to confirm that I am now also experiencing this issue.
I just wanted to confirm that I am now also experiencing this issue.
To temporarily solve this I forced the version of thecodingmachine/safe
to be 2.0.0
in my project, probably also 2.2.2
(the previous one) would work
That worked for me, thanks!
I’m only using it as a dev dependency so it’s not a big priority for me.
Hey @danilopolani, thanks for raising this.
I think option 3 is probably best.
I'm experiencing the same issue, and will downgrade the thecodingmachine/safe
. Thank you for the thread and your suggested solutions.