Add support for thecodingmachine/safe 2.0
Closed this issue · 2 comments
benrowe-chuffed commented
Summary
Please consider adding support for thecodingmachine/safe:^2.0
.
Currently this package only supports ^1.3. Not only has 1.3 not been updated in two years, it's also missing support for PHP 8.
It's possible to support both since the 2.0 interfaces are backwards compatible AFAIK.
This can be done simply by changing the composer dependency to:
"require": {
"thecodingmachine/safe": "^1.1 || ^2",
...
}
mfn commented
LGTM, happy to accept a PR!
mfn commented
Fixed with #961 and released as 8.5.0