Problem/Motivation
Originally reported by Mike Dodd
as reported at #3037791-14: Convert tests to PHPUnit, core introduced Drupal\Component\Utility\EmailValidator in 8.7.x and causing fatal error to the sites using stable core version.
Proposed resolution
Add a conditional check for now to support both as the latest version of Egulias\EmailValidator\EmailValidator breaks API which is why we got own instance in core. Check #2755401: Upgrade EmailValidator to 2.x for more details.
Remaining tasks
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3038799-empty-5.patch | 0 bytes | vijaycs85 |
| #4 | 3038799-diff-2-4.txt | 1.63 KB | vijaycs85 |
| #4 | 3038799-4.patch | 3.14 KB | vijaycs85 |
Comments
Comment #2
vijaycs85Comment #4
vijaycs85Updating typehint.
Comment #5
vijaycs85Here is an empty file to prove that the current HEAD fails with the 8.6.x core.
Comment #8
vijaycs85nevermind #5 checked directly at 8.x-1.x HEAD and failing as expected. See https://www.drupal.org/pift-ci-job/1223472 for more details
Comment #9
Mike Dodd commentedThank, this is working fine now :)