Skip to content

Commit

Permalink
Migrate zend-validator to laminas-validator (#21)
Browse files Browse the repository at this point in the history
* Migrate zend-validator to laminas-validator

$ laminas-migration migrate

* Remove un-needed laminas/laminas-dependency-plugin dependency
  • Loading branch information
glensc authored Mar 2, 2020
1 parent 8b0d9cc commit 708b856
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@
"type": "library",
"description": "email-parse a (reasonably) RFC822 / RF2822-compliant library for batch parsing multiple (and single) email addresses",
"license": "MIT",
"keywords": ["email", "parse", "RFC822", "RFC2822", "email-parse", "multiple-email", "batch-email"],
"keywords": [
"email",
"parse",
"RFC822",
"RFC2822",
"email-parse",
"multiple-email",
"batch-email"
],
"authors": [
{
"name": "Matthew J. Mucklo",
Expand All @@ -19,20 +27,19 @@
"php": ">=7.1",
"true/punycode": "~2.0",
"psr/log": "~1.0",
"zendframework/zend-validator" : ">=2.0,<=3.0"
"laminas/laminas-validator": "^2.13"
},
"autoload": {
"psr-4": {
"Email\\": "src/"
"Email\\": "src/"
}
},
"config": {
"bin-dir": "bin"
},
"autoload-dev": {
"psr-4": {
"Email\\Tests\\": "tests/"
"Email\\Tests\\": "tests/"
}
}
}

2 changes: 1 addition & 1 deletion src/Parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Email;

use Zend\Validator\Ip;
use Laminas\Validator\Ip;
use Psr\Log\LoggerInterface;
use TrueBV\Punycode;

Expand Down

0 comments on commit 708b856

Please sign in to comment.