Describe your bug or feature request.

In CreateStoreCommand.php we are injecting \Egulias\EmailValidator\EmailValidator $email_validator
Since there's an email.validator service in drupal core which already uses this component we should inject Drupal\Component\Utility\EmailValidator instead.

Comments

MacSim created an issue. See original summary.

macsim’s picture

StatusFileSize
new1.55 KB
macsim’s picture

StatusFileSize
new1.82 KB

+ Ordered use statements

jsacksick’s picture

Status: Active » Fixed
StatusFileSize
new2.29 KB

We should use the interface instead, made the change and committed. In any case, I'm surprised people are still using Drupal console as the project has been abandoned for 3 years at least.

  • jsacksick committed 3e4ce9a1 on 8.x-2.x authored by MacSim
    Issue #3378252 by MacSim, jsacksick: Email validator should rely on the...

  • jsacksick committed 101139c0 on 3.0.x authored by MacSim
    Issue #3378252 by MacSim, jsacksick: Email validator should rely on the...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.