PHP Classes

File: tests/EmailValidator/Validator/ProviderValidatorTest.php

Recommend this page to a friend!
  Classes of John Conde   PHP Email Validation Library Pro   tests/EmailValidator/Validator/ProviderValidatorTest.php  
File: tests/EmailValidator/Validator/ProviderValidatorTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Email Validation Library Pro
Validate email addresses using multiple rules
Author: By
Last change: Fixed(?) phpunit test failures in scrutinizer
feat: add strict typing and improve type safety throughout codebase

- Breaking change: requires PHP 7.4 or newer
- Add strict type declarations to all properties and method signatures in core and validator classes
- Use PHP 7.4+ typed properties and improve PHPDoc array type hints
- Refactor provider validators to handle null/invalid domains gracefully and consistently return true for invalid emails
- Update and expand unit tests to cover edge cases, type safety, and invalid input handling
- Refactor internal logic for better null safety and array filtering
- No breaking changes to the public API; all existing integrations remain compatible
- All tests passing
Date: 18 days ago
Size: 2,612 bytes

You need to be a registered user and login to get this file.

1,617,635 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: