Skip to content

Releases: wmde/fun-validators

v5.0.0

24 Feb 15:17
f84ace7
Compare
Choose a tag to compare
  • deprecated setSource() method in ValidationResult removed
  • CanValidateField trait removed

v4.2.0

21 Feb 17:36
71abd74
Compare
Choose a tag to compare

Changes to enable removal of CanValidateField

Calling code should replace

    $violation = $this->getFieldViolation( $result, 'source_name' );

with

    $violation = $result->setSourceForAllViolations( 'source_name' )->getFirstViolation();

v4.1.0

28 Nov 09:51
99fc84b
Compare
Choose a tag to compare

Fix postcode validation error - always validate length

Update dev dependencies

v4.0.0

06 Jul 07:07
Compare
Choose a tag to compare
Upgrade to php8

This updates the php version and fixes
regexes that became incompatible.

v3.0.0

18 Jun 06:26
70d2af1
Compare
Choose a tag to compare
Merge pull request #14 from wmde/donation-name-regex-validation

Add regex check on first and last name

v2.0.0

04 Jun 13:35
Compare
Choose a tag to compare

Adjust post code validation for higher accuracy

1.2.0

23 Jan 15:28
Compare
Choose a tag to compare

Add SucceedingEmailValidator
Add SucceedingDomainNameValidator for testing
Add Adress Validator

1.1.0

17 Jul 11:12
6e1da9e
Compare
Choose a tag to compare

Introducing IntegerValueValidator

1.0.1

09 Feb 11:40
29fd4b7
Compare
Choose a tag to compare

Add support for PHP 7.2.