Remi's RPM repository - Packages

Blog | Support | Repository | Wizard

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

Website:
https://github.com/webmozart/assert
Licence:
MIT
Vendor:
Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
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/Assert2/autoload.php

Packages

php-webmozart-assert2-2.0.0-1.fc41.remi.noarch [25 KiB] Changelog by Remi Collet (2025-12-25):
- update to 2.0.0
- rename to php-webmozart-assert2
- install in /usr/share/php/Webmozart/Assert2
- raise dependency on PHP 8.2