Skip to content

Commit

Permalink
Merge pull request #3900 from morozov/issues/3899
Browse files Browse the repository at this point in the history
Drop support for PHP 7.2
  • Loading branch information
morozov authored Mar 17, 2020
2 parents c00c3d8 + 17b0def commit 02d3c61
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ build:
analysis:
environment:
php:
version: 7.2
version: 7.3
cache:
disabled: false
directories:
Expand Down
69 changes: 6 additions & 63 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,68 +55,6 @@ jobs:
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpcs

- stage: Test
php: 7.2
env: DB=mysql.docker MYSQL_VERSION=8.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mysql-8.0.sh
- stage: Test
php: 7.2
env: DB=mysqli.docker MYSQL_VERSION=8.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mysql-8.0.sh
- stage: Test
php: 7.2
env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.2
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=11.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-postgres-11.sh
- stage: Test
php: 7.2
env: DB=sqlite
- stage: Test
php: 7.2
env: DB=sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-sqlsrv-dependencies.sh
- bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.2
env: DB=pdo_sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-sqlsrv-dependencies.sh
- bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.2
env: DB=sqlite DEPENDENCIES=low
install:
- travis_retry composer update --prefer-dist --prefer-lowest
- stage: Test
php: 7.3
env: DB=mysql.docker MYSQL_VERSION=8.0
Expand Down Expand Up @@ -174,6 +112,11 @@ jobs:
- bash ./tests/travis/install-sqlsrv-dependencies.sh
- bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.3
env: DB=sqlite DEPENDENCIES=low
install:
- travis_retry composer update --prefer-dist --prefer-lowest
- stage: Test
php: 7.4
env: DB=mysql COVERAGE=yes
Expand Down Expand Up @@ -366,7 +309,7 @@ jobs:

- stage: Test
if: type = cron
php: 7.2
php: 7.3
env: DB=sqlite DEPENDENCIES=dev
install:
- composer config minimum-stability dev
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{"name": "Jonathan Wage", "email": "[email protected]"}
],
"require": {
"php": "^7.2",
"php": "^7.3",
"doctrine/cache": "^1.0",
"doctrine/event-manager": "^1.0",
"ocramius/package-versions": "^1.4"
Expand All @@ -50,7 +50,7 @@
"bin": ["bin/doctrine-dbal"],
"config": {
"platform": {
"php": "7.2.0"
"php": "7.3.0"
},
"sort-packages": true
},
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 02d3c61

Please sign in to comment.