--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2020-579c8a3d6f
2020-07-30 18:54:48.213674
--------------------------------------------------------------------------------
Name : php-webmozart-assert
Product : Fedora 32
Version : 1.9.1
Release : 1.fc32
URL :
https://github.com/webmozart/assert
Summary : Assertions to validate method input/output with nice error messages
Description :
This library contains efficient assertions to test the input and output of your
methods. With these assertions, you can greatly reduce the amount of coding
needed to write a safe implementation.
All assertions in the Assert class throw an \InvalidArgumentException if they
fail.
Autoloader: /usr/share/php/Webmozart/Assert/autoload.php
--------------------------------------------------------------------------------
Update Information:
**Version 1.9.1** **Fixed** * provisional support for PHP 8.0 ---- **Version
1.9.0** * added better Psalm support for `all*` & `nullOr*` methods * These
methods are now understood by Psalm through a mixin. You may need a newer
version of Psalm in order to use this * added `@psalm-pure` annotation to
`Assert::notFalse()` * added more `@psalm-assert` annotations where appropriate
**Changed** * the `all*` & `nullOr*` methods are now declared on an interface,
instead of `@method` annotations. This interface is linked to the `Assert` class
with a `@mixin` annotation. Most IDE's have supported this for a long time, and
you should not lose any autocompletion capabilities. PHPStan has supported this
since version `0.12.20`. This package is marked incompatible (with a composer
conflict) with phpstan version prior to that. If you do not use PHPStan than
this does not matter. ---- **Version 1.8.0** **Added** * added
`Assert::notStartsWith()` * added `Assert::notEndsWith()` * added
`Assert::inArray()` * added `@psalm-pure` annotations to pure assertions
**Fixed** * Exception messages of comparisons between `DateTime(Immutable)`
objects now display their date & time. * Custom Exception messages for
`Assert::count()` now use the values to render the exception message.
--------------------------------------------------------------------------------
ChangeLog:
* Tue Jul 21 2020 Remi Collet <remi(a)remirepo.net> - 1.9.1-1
- update to 1.9.1 (RHBZ #1825544)
--------------------------------------------------------------------------------
References:
[ 1 ] Bug #1825544 - php-webmozart-assert-1.9.1 is available
https://bugzilla.redhat.com/show_bug.cgi?id=1825544
--------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2020-579c8a3d6f' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------