github nette/utils v3.0.1
Released version 3.0.1

latest releases: v4.0.5, v4.0.4, v4.0.3...
5 years ago
  • Reflection::getUseStatements() throw exceptions on anonymous class
  • Reflection: added 'null' to builtin types (in fact it is reserved type since PHP 7.0)
  • added Reflection::getPropertyType() (for PHP 7.4)
  • Validators: better exception message
  • Validators: added 'file', 'directory', 'class', 'interface' & mixed
  • Validators: added support for ?nullable types
  • Validators: grouped & sorted $validators
  • Validators: catches TypeError for incompatible types
  • Validator:: accepts the plus character as a valid option in numeric strings (#184)
  • added Arrays::toObject()
  • Image: fixed empty error_get_last() #183

For the details you can have a look at the diff.

Don't miss a new utils release

NewReleases is sending notifications on new releases.