Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@colinodell colinodell released this 09 Feb 13:07
· 5 commits to main since this release
v3.0.0
5724d21

You should not notice any breaking changes in this release unless you were using named parameters, or ignoring argument types defined in docblocks.

Changed

  • Renamed function parameters to match json_decode()'s signature
    • $source is now $json
    • $options is now $flags
  • Added explicit mixed return type to match json_decode()
  • Added proper types to all parameters and return values of SyntaxError
  • Renamed two arguments in the SyntaxError's constructor:
    • $linenumber is now $lineNumber
    • $columnNumber is now $column

Removed

  • Removed support for PHP 7.x (8.0+ is now required)