iquety / shield
Assertion Toolkit
v1.5.1
2024-12-13 11:55 UTC
Requires
- php: ^8.3.0
Requires (Dev)
- behat/behat: ^3.14
- codacy/coverage: dev-master
- iquety/docmap: *
- phpmd/phpmd: @stable
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: 3.*
README
Synopsis
composer require iquety/shield
This library provides a set of Assertions to verify values and expressions.
In computing, an assertion is a verification with the objective of certifying that a certain condition imposed by the developer is true. If it is true, nothing happens. If it is false, errors should be used to notify the user.
The use of assertions is very useful, especially in the validation of values coming from method arguments or user input in web applications.
For detailed information, see Documentation Summary.
Characteristics
- Made for PHP 8.3 or higher;
- Codified with best practices and maximum quality;
- Well documented and IDE friendly;
- Made with TDD (Test Driven Development);
- Implemented with unit tests using PHPUnit;
- Made with ❤️ & ☕.