No description
  • PHP 99.1%
  • Shell 0.9%
Find a file
Henrique Moody cd6bcd470b
Enable adding modifiers without changing InterpolationRenderer
The `InterpolationRenderer` was violating the open-closed principle,
because every time we would want to add a new modifier, we would need to
change its implementation.

This commit changes that behaviour by creating a `Modifier` interface.
The classes implementing that interface are using a chain of
responsibility to pass the data to the next one. Using a chain of
responsibility makes a lot of sense, since it's only possible to have
one modifier at a time.
2025-12-30 11:17:11 +01:00
.github Bump PHP support from 8.1 to 8.5 2025-12-18 19:03:38 +01:00
bin Refactor the NotEmpty rule 2025-12-29 12:48:35 +01:00
data/domain/public-suffix Update Regional Information 2024-03-25 18:43:50 +01:00
docs Refactor the NotEmpty rule 2025-12-29 12:48:35 +01:00
library Enable adding modifiers without changing InterpolationRenderer 2025-12-30 11:17:11 +01:00
tests Enable adding modifiers without changing InterpolationRenderer 2025-12-30 11:17:11 +01:00
.docheader Use SPDX IDs for licensing 2023-02-19 00:19:10 -03:00
.gitattributes Update list of files to be exported by Git 2020-07-29 10:35:36 +02:00
.gitignore Upgrade "phpunit/phpunit" 2024-01-28 14:16:52 +01:00
.readthedocs.yaml Create Read the Docs configuration file 2024-01-28 21:50:01 +01:00
aliases.php Register v as a class alias to Validator 2025-12-27 00:08:35 +01:00
CHANGELOG.md Check if property is initialized before getting its value 2024-01-27 20:36:01 +01:00
codecov.yml Use Pest instead of PHPT files 2024-12-16 17:07:47 +01:00
composer.json Register v as a class alias to Validator 2025-12-27 00:08:35 +01:00
CONTRIBUTING.md Replace placeholder "name" with "subject" 2025-12-26 21:30:01 +01:00
LICENSE Dusting off. See CHANGELOG.md for more details on this commit 2023-02-13 03:59:11 -03:00
mkdocs.yml Create MkDocs configuration file 2018-12-11 09:25:41 +01:00
phpcs.xml.dist Bump respect/coding-standard from 4 to 5 2025-12-18 19:03:39 +01:00
phpstan.neon.dist Do not overwrite existing names 2025-12-26 14:48:23 +01:00
phpunit.xml.dist Remove "uopz" as a dependency to run tests 2025-12-18 14:13:09 +01:00
README.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00

Respect\Validation

Build Status Code Coverage Latest Stable Version Total Downloads License

The most awesome validation engine ever created for PHP.

Learn More: