Safe v1.0.0-beta1 Release Notes

Release Date: 2019-10-21 // over 4 years ago
  • ๐Ÿ”„ Changelog:

    โšก๏ธ Updated the internal php doc and phpstan package used to generate our functions

    ๐Ÿ“œ Rewrote the way parameter types and return types (both doc-block and typehints) are extracted and parsed. We now use the phpstan functionMap.php as our source of reference before falling back to the php doc (it was the oposite before). We also have a file to overwrite phpstan doc when it contains errors.
    As a result a lot of functions have their typehints changed, hopefully for the best. (#134#147)

    Added array_replace and array_replace_recursive. (#145 )

    OpensslException now use openssl_error_string to print its error message. (#148)

    โž• Added Imagick functions (#132 )

    โž• Added ini_get (#131)

    ๐Ÿ‘ป Created safe equivalents for the class DateTime and DateTimeImmutable. Theses will overload all functions in order to throw exception on errors if needed. (#138 )

    Remove forward_static_call and forward_static_call_array from supported functions (#129)

    โž• Add .gitattributes (#127)