mirror of
https://github.com/Respect/Validation.git
synced 2024-06-07 16:22:16 +02:00
Updated CHANGELOG.md, small phpcs fixes
This commit is contained in:
parent
13f20e7516
commit
2c5793a000
|
@ -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
|
||||
|
||||
|
|
|
@ -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',
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue