Updated CHANGELOG.md, small phpcs fixes

This commit is contained in:
Alexandre Gomes Gaigalas 2023-02-13 19:06:26 -03:00
parent 13f20e7516
commit 2c5793a000
2 changed files with 5 additions and 3 deletions

View file

@ -20,6 +20,8 @@
- Fixed misc phpstan and phpcs errors.
- v::dateTime('z') is not supported anymore in PHP8, and should not be relied upon
- Added RuPay card validation (thanks @rakshit087)
- Fixed `v::decimal()` for float values (thanks @scruwi)
- Added `v::portugueseNif()` to validate _Número de Identificação Fiscal_ in Portugal (thanks @goncalo-andrade).
# Changes in Respect\Validation 1.0

View file

@ -17,7 +17,7 @@ final class PortugueseNifException extends ValidationException
self::STANDARD => '{{name}} must be a Portuguese NIF',
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be a Portuguese NIF'
]
self::STANDARD => '{{name}} must not be a Portuguese NIF',
],
];
}
}