14

Releases · thecodingmachine/safe · GitHub

 4 years ago
source link: https://github.com/thecodingmachine/safe/releases
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Be notified of new releases

Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 50 million developers.

Sign up

Kharhamel released this on 19 Dec 2019 · 63 commits to master since this release

Changelog:

  • Remove array_multisort (#167)
  • Fixs several phpstan errors (#168)
  • Dropped support for php 7.1
  • Updated both phpstan dependancies to version 12 (#164)
  • Added an optional pipeline for version 7.4. (it failed for now because of travis isn't stable with 7.4 yet)
  • Removed Apcu_delete from the library (#149)
  • Removed filter_has_var from the library (#162)
  • Widen the type of in password_hash to string|int|null (#161)
  • Update rector-migrate.yml to support Rector 0.5 (#154)
  • Code cleanup
  • Updated the internal php doc and phpstan package used to generate our functions
  • Updated 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 #171)
  • 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)
Assets 2
PreviousNext

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK