Compare commits

...

3 Commits

Author SHA1 Message Date
Graham Campbell a6255605af Important compser.json fix (#220) 2019-12-20 13:49:39 +01:00
felipeAraujo 950d0663dc making the docs more precise in order to some lint tools don't give error (#216) 2019-09-15 22:23:48 +02:00
Nicolas Grekas 92dd169c32 Advertise return annotations from doctrine/lexer (#209) 2019-08-13 19:33:27 +02:00
4 changed files with 12 additions and 3 deletions
+2
View File
@@ -1,5 +1,7 @@
sudo: false
dist: trusty
language: php
php:
+6
View File
@@ -88,6 +88,9 @@ class EmailLexer extends AbstractLexer
$this->previous = $this->token = self::$nullToken;
}
/**
* @return void
*/
public function reset()
{
$this->hasInvalidTokens = false;
@@ -228,6 +231,9 @@ class EmailLexer extends AbstractLexer
return false;
}
/**
* @return string
*/
protected function getModifiers()
{
return 'iu';
@@ -94,7 +94,9 @@ class MultipleValidationWithAnd implements EmailValidation
}
/**
* {@inheritdoc}
* Returns the validation errors.
*
* @return MultipleErrors|null
*/
public function getError()
{
+1 -2
View File
@@ -2,7 +2,6 @@
"name": "egulias/email-validator",
"description": "A library for validating emails against several RFCs",
"homepage": "https://github.com/egulias/EmailValidator",
"type": "Library",
"keywords": ["email", "validation", "validator", "emailvalidation", "emailvalidator"],
"license": "MIT",
"authors": [
@@ -10,7 +9,7 @@
],
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "2.1.x-dev"
}
},
"repositories": [