No description
  • PHP 99.1%
  • Shell 0.9%
Find a file
Henrique Moody ec70cf7bc2
Ensure formatters only format, not modify results
When I changed the library to not overwrite existing names [1], I wasn't
happy with how `FirstResultStringFormatter` was changing the results,
because the results should be completely ready by the time they arrive
in the formatters.

This commit changes that behaviour, ensuring the results are complete
with all necessary information by the time they reach the formatters.

Along with those changes, I refactored some stringifiers and simplified
the `InterpolationRenderer`; we were not overwriting the "name"
parameter anyway, as it was just an unnecessary overhead.

[1] 8332d28acc
2026-01-03 19:47:30 +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 Make Validator immutable 2026-01-02 15:45:23 +01:00
library Ensure formatters only format, not modify results 2026-01-03 19:47:30 +01:00
tests Ensure formatters only format, not modify results 2026-01-03 19:47:30 +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: