Allow PHP 8 for the upcoming 3.0 (#275)

* bump version to allow php 8

* allow php 8 in travis

* add scrutinizer config
This commit is contained in:
Kevin Krummnacker
2020-12-19 15:45:43 +01:00
committed by GitHub
parent f00f069e3b
commit a9b0666ece
3 changed files with 19 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
imports:
- php
build:
environment:
php: '7.2.13'
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'clover'
+4
View File
@@ -14,6 +14,10 @@ matrix:
env:
- psalm=yes
dist: bionic
- php: 8.0
env:
- psalm=yes
dist: bionic
install:
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; else composer install; fi
+2 -2
View File
@@ -19,9 +19,9 @@
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^8",
"phpunit/phpunit": "^8.5.8|^9.3.3",
"dominicsayers/isemail": "^3.0.7",
"vimeo/psalm": "^3.11"
"vimeo/psalm": "^4"
},
"suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"