Go to file
Henrique Moody 8573bc5d45
Do not overwrite "IDs" when updating names
When you have a chain of rules in the Validation and overwrite the name
with "setName()," it's impossible to get the messages from all rules in
the chain as an array because they all have the same name.

These changes will change that behavior by creating a more explicit
distinction between "IDs" and "names." The "IDs" will remain
unchangeable, while we can always overwrite the names. That means that
the array messages will look more similar to the chain, and it will be
possible to overwrite the messages from multiple rules in the same
chain.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-03-26 01:12:44 +01:00
.github Bump codecov/codecov-action from 3 to 4 2024-03-15 11:43:46 +01:00
bin Allow building rules using prefixes 2024-03-24 16:58:24 +01:00
data/domain/public-suffix Update Regional Information 2024-03-25 18:43:50 +01:00
docs Remove previous validation engine 2024-03-25 12:28:25 +01:00
library Do not overwrite "IDs" when updating names 2024-03-26 01:12:44 +01:00
tests Do not overwrite "IDs" when updating names 2024-03-26 01:12:44 +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
CHANGELOG.md Check if property is initialized before getting its value 2024-01-27 20:36:01 +01:00
composer.json Allow building rules using prefixes 2024-03-24 16:58:24 +01:00
CONTRIBUTING.md Remove previous validation engine 2024-03-25 12:28:25 +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 Include "__root__" when getting message as an array 2024-03-25 22:38:19 +01:00
phpstan.neon.dist Move mixin classes to the "Mixin" namespace 2024-03-03 16:52:29 +01:00
phpunit.xml.dist Upgrade "phpunit/phpunit" 2024-01-28 14:16:52 +01:00
README.md Update URL of build status image 2024-03-07 01:52:38 +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: