File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ This library aims to support RFCs:
3434* [ Spoofchecking] ( /src/Validation/Extra/SpoofCheckValidation.php ) and
3535[ DNSCheckValidation] ( /src/Validation/DNSCheckValidation.php ) validation
3636requires that your PHP system has the
37- [ PHP Internationalization Libraries] ( https://php.net/manual/en/book.intl.php )
37+ [ PHP Internationalization Libraries] ( https://php.net/manual/en/book.intl.php )
3838(also known as PHP Intl)
3939
4040** Note** : `PHP version upgrades will happen to accomodate to the pace of major
@@ -109,7 +109,6 @@ Validations not present in the RFCs
1091091 . [ SpoofCheckValidation] ( /src/Validation/Extra/SpoofCheckValidation.php ) :
110110Will check for multi-utf-8 chars that can signal an erroneous email name.
111111
112-
113112### How to extend
114113
115114It's easy! You just need to implement
@@ -126,7 +125,8 @@ Is short and simple and will help a lot.
126125(You can find current contributors
127126[ here] ( https://github.com/egulias/EmailValidator/graphs/contributors ) )
128127
129- As this is a port from another library and work, here are other people related to the previous one:
128+ As this is a port from another library and work, here are other people related
129+ to the previous one:
130130
131131* Ricard Clau [ @ricardclau ] ( https://github.com/ricardclau ) :
132132Performance against PHP built-in filter_var (v2 and earlier)
Original file line number Diff line number Diff line change @@ -6,22 +6,26 @@ interface Result
66{
77 /**
88 * Is validation result valid?
9+ *
910 */
10- public function isValid () : bool ;
11+ public function isValid (): bool ;
1112
1213 /**
1314 * Is validation result invalid?
1415 * Usually the inverse of isValid()
16+ *
1517 */
16- public function isInvalid () : bool ;
18+ public function isInvalid (): bool ;
1719
1820 /**
1921 * Short description of the result, human readable.
22+ *
2023 */
21- public function description () : string ;
24+ public function description (): string ;
2225
2326 /**
2427 * Code for user land to act upon.
28+ *
2529 */
26- public function code () : int ;
30+ public function code (): int ;
2731}
You can’t perform that action at this time.
0 commit comments