Skip to content
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
imports:
- php
- php

build:
environment:
php: '7.4'
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=clover.xml --exclude-group flaky'
coverage:
file: 'clover.xml'
format: 'clover'
- php-scrutinizer-run
environment:
php: "8.1"
tests:
override:
- command: "vendor/bin/phpunit --coverage-clover=clover.xml --exclude-group flaky"
coverage:
file: "clover.xml"
format: "clover"
- php-scrutinizer-run
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@ language: php

matrix:
include:
- php: 7.4
dist: bionic
env:
- psalm=yes
- php: 8.0
- php: 8.1
env:
- psalm=yes
dist: bionic
#ppc64le support code
- php: 7.4
#ppc64le support code
- php: 8.1
arch: ppc64le
env:
- psalm=yes
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ This library aims to support RFCs:

**Current major version with full support is v3**

| Version | Released | EOL | Only critical bug fixes | Full |
| ---- | :----: | :----: | :----: | :----: |
| v3.x | 2020/12/29 | - | X | X |
| v2.1.x | 2016/05/16 | 01/2022 | X | |
| v1.2 | 2013/19/05 | YES | | |
| Version | Released | EOL | Only critical bug fixes | Full |
| ------- | :--------: | :-----: | :---------------------: | :---: |
| v4.x | 2022/12/20 | - | X | X |
| v3.x | 2020/12/29 | - | X | X |
| v2.1.x | 2016/05/16 | 01/2022 | X | |
| v1.2 | 2013/19/05 | YES | | |


## Requirements ##

* PHP 7.2
* PHP 8.1
* [Composer](https://getcomposer.org) is required for installation
* [Spoofchecking](/src/Validation/Extra/SpoofCheckValidation.php) and [DNSCheckValidation](/src/Validation/DNSCheckValidation.php) validation requires that your PHP system has the [PHP Internationalization Libraries](https://php.net/manual/en/book.intl.php) (also known as PHP Intl)

Expand Down
26 changes: 17 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"name": "egulias/email-validator",
"description": "A library for validating emails against several RFCs",
"homepage": "https://github.com/egulias/EmailValidator",
"keywords": ["email", "validation", "validator", "emailvalidation", "emailvalidator"],
"license": "MIT",
"name": "egulias/email-validator",
"description": "A library for validating emails against several RFCs",
"homepage": "https://github.com/egulias/EmailValidator",
"keywords": [
"email",
"validation",
"validator",
"emailvalidation",
"emailvalidator"
],
"license": "MIT",
"authors": [
{"name": "Eduardo Gulias Davis"}
{
"name": "Eduardo Gulias Davis"
}
],
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
"dev-master": "4.0.x-dev"
}
},
"require": {
"php": ">=7.2",
"doctrine/lexer": "^1.2",
"php": ">=8.1",
"doctrine/lexer": "^3.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, I would strongly recommend to loosen this constraint to…

Suggested change
"doctrine/lexer": "^3.0",
"doctrine/lexer": "^2.0 || ^3.0",

This should be possible without much extra effort and avoid dependency conflicts downstream for the time being.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked Doctrine's ORM and v3 is requiring v2 of the lexer, so @Ph0tonic can you please update to

Suggested change
"doctrine/lexer": "^3.0",
"doctrine/lexer": "^2 || ^3",

Thanks @derrabus

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

"symfony/polyfill-intl-idn": "^1.15"
},
"require-dev": {
Expand Down
Loading