Skip to content

Commit

Permalink
Bump minimum php version to 8.0 and dbal version to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
GDCElBardan committed Oct 26, 2022
1 parent 844405d commit d1b5164
Show file tree
Hide file tree
Showing 15 changed files with 2,894 additions and 2,323 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vendor/

composer.lock
tests/_output/*
tests/_output/*
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ services:
- mariadb

php:
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- nightly
- hhvm

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ MySQL extensions for [Doctrine DBAL](https://github.com/doctrine/dbal).

## Requirements

PHP 7.2 and above. See the [releases page](https://github.com/pharako/mysql-dbal/releases) for previous versions that still work with PHP < 7.2.
PHP 8.0 and above. See the [releases page](https://github.com/pharako/mysql-dbal/releases) for previous versions that still work with PHP < 8.0.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ paths:
data: tests/_data
support: tests/_support
envs: tests/_envs
bootstrap: _bootstrap.php
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
extensions:
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
"name": "Claudio Bizzotto"
}],
"require": {
"php": ">=7.2",
"doctrine/dbal": "^2.10"
"php": "^8.0|^8.1",
"doctrine/dbal": "^3"
},
"require-dev": {
"codeception/codeception": "^3.1"
"codeception/codeception": "^4.1",
"codeception/module-asserts": "*",
"codeception/module-sequence": "*",
"codeception/module-db": "*"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit d1b5164

Please sign in to comment.