Releases: Waavi/Sanitizer
Releases · Waavi/Sanitizer
Added Laravel 7 compatibility and readme clarifications
Add customFilters example (#52) * Add customFilters example * Update composer.json * Update composer.json * Update composer.json Co-authored-by: francoism90 <[email protected]> Co-authored-by: William <[email protected]>
Fix issue with illegal offset.
Add array type verification before accessing index (#49) Since the $rule may now be array as well as a Closure, the array type must be checked before trying to access indexes. Also, `applyFilter` calls is corrected to respect it's signature. This should fix `ErrorException Illegal string offset 'name'` being thrown. Fixes Waavi#48
Adds support for Closure rules
Adds support for Closure rules (#45) * Support Closure rules * Test Closure rules * Bug fix * Fix test * Fix test
New filter_if filter
1.0.13 Modified return type of rules and filters method to array in request.…
Laravel 6 and multibyte string support
1.0.12 adds special characters compatibility (#39)
Avoid adding empty inputs when sanitizing data.
1.0.11 Sanitize only passed data (#33)
1.0.10: Upgrade to latest versions of phpunit and Carbon (#30)
revert to phpunit 6.0 make shim methods static for compatibility with php 7.2 and 7.3 use void to match current signature only apply shim if php <= 7.2 allow travis failures for hhvm and php 5.6
Added Digit filter
1.0.9 Fix request stub to extend form request directly (#26)
Added PR that fix Laravel 5.6 issues and add awesome wildcard array sanitation!
Wildcard rules (#13) * Add wildcard rules support * Style fix * Fixed package version to pass tests * Rename variable * Update Sanitizer.php
Merge pull request
Merge pull request #3 from TiagoSilvaPereira/patch-1 Adding a simple way to define custom Filters