Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-webmozart-assert - Assertions to validate method input/output with nice error messages

Website:
https://github.com/webmozart/assert
Licence:
MIT
Vendor:
Remi Collet
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

Packages

php-webmozart-assert-1.4.0-1.fc29.remi.noarch [17 KiB] Changelog by Shawn Iwinski (2019-05-19):
- Update to 1.4.0
php-webmozart-assert-1.3.0-3.fc29.remi.noarch [16 KiB] Changelog by Remi Collet (2018-10-19):
- fix autoloader, use PSR-4 to avoid duplicated definition
- prepend autoloader to ensure we use current version in tests
- fix FTBFS #1605449