Add compatibility to PHP 8

This commit is contained in:
Alexander Schranz 2020-07-24 03:20:49 +02:00
commit 942015f9a3
2 changed files with 9 additions and 2 deletions

View file

@ -30,6 +30,9 @@ matrix:
- php: 7.2 - php: 7.2
- php: 7.3 - php: 7.3
- php: 7.4 - php: 7.4
- php: nightly
env:
- COMPOSER_DEV_STABILITY=true
before_install: before_install:
- sudo add-apt-repository ppa:mc3man/trusty-media -y - sudo add-apt-repository ppa:mc3man/trusty-media -y
@ -46,6 +49,10 @@ before_install:
if [ "$COMPOSER_FLAGS" == "--prefer-lowest" ]; then if [ "$COMPOSER_FLAGS" == "--prefer-lowest" ]; then
composer require "roave/security-advisories" dev-master --no-update composer require "roave/security-advisories" dev-master --no-update
fi; fi;
- |
if [ "$COMPOSER_DEV_STABILITY" == "true" ]; then
composer config minimum-stability dev
fi;
install: install:
- sudo apt-get install -y ffmpeg - sudo apt-get install -y ffmpeg

View file

@ -32,7 +32,7 @@
} }
], ],
"require": { "require": {
"php": "^5.3.9 || ^7.0", "php": ">=5.3.9",
"alchemy/binary-driver": "^1.5 || ~2.0.0 || ^5.0", "alchemy/binary-driver": "^1.5 || ~2.0.0 || ^5.0",
"doctrine/cache": "^1.0", "doctrine/cache": "^1.0",
"evenement/evenement": "^3.0 || ^2.0 || ^1.0", "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
@ -58,7 +58,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "0.7-dev" "dev-master": "0.x-dev"
} }
} }
} }