Skip to content

Commit

Permalink
Start of 2.x: drop support for EOL PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Nov 27, 2023
1 parent e489d11 commit 2382ea8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 31 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ jobs:
matrix:
include:
# MySQL 5.7
- os: ubuntu-20.04
database: 'mysql'
database-version: '5.7'
php-version: '7.4'
- os: ubuntu-20.04
database: 'mysql'
database-version: '5.7'
php-version: '8.0'
- os: ubuntu-20.04
database: 'mysql'
database-version: '5.7'
Expand All @@ -39,14 +31,6 @@ jobs:
database-version: '5.7'
php-version: '8.3'
# MySQL 8.0
- os: ubuntu-latest
database: 'mysql'
database-version: '8.0'
php-version: '7.4'
- os: ubuntu-latest
database: 'mysql'
database-version: '8.0'
php-version: '8.0'
- os: ubuntu-latest
database: 'mysql'
database-version: '8.0'
Expand All @@ -60,14 +44,6 @@ jobs:
database-version: '8.0'
php-version: '8.3'
# MariaDB 10.11 LTS
- os: ubuntu-20.04
database: 'mariadb'
database-version: '10.11'
php-version: '7.4'
- os: ubuntu-20.04
database: 'mariadb'
database-version: '10.11'
php-version: '8.0'
- os: ubuntu-20.04
database: 'mariadb'
database-version: '10.11'
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ FROM druidfi/php:8.2 as php-82

RUN sudo apk --update -X https://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache add php82-pdo php82-pdo_mysql

FROM druidfi/php:8.3 as php-83

RUN sudo apk --update -X https://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache add php82-pdo php82-pdo_mysql

FROM php-${PHP_SHORT_VERSION}

RUN sudo apk --update --no-cache add bash mysql-client \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Out of the box, `mysqldump-php` supports backing up table structures, the data i

## Requirements

- PHP 7.4 or 8.x with PDO - [see supported versions](https://www.php.net/supported-versions.php)
- PHP 8.x with PDO - [see supported versions](https://www.php.net/supported-versions.php)
- MySQL 5.7 or newer (and compatible MariaDB)

## Installing
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "druidfi/mysqldump-php",
"description": "PHP version of mysqldump cli that comes with MySQL",
"type": "library",
"keywords": ["mysql", "mysqldump", "pdo", "php7", "php8", "database", "php", "sql", "mariadb", "mysql-backup"],
"keywords": ["mysql", "mysqldump", "pdo", "php8", "database", "php", "sql", "mariadb", "mysql-backup"],
"homepage": "https://github.com/druidfi/mysqldump-php",
"license": "GPL-3.0-or-later",
"minimum-stability": "stable",
Expand All @@ -18,13 +18,13 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"composer-runtime-api": "^2",
"ext-pdo": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "^8.5.15 || ^9"
"phpunit/phpunit": "^9"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

services:

db:
Expand All @@ -16,7 +14,7 @@ services:

db3:
container_name: "mysqldump-php-mariadb-80"
image: druidfi/mariadb:10.6-drupal
image: druidfi/mariadb:10.11-drupal-lts
ports:
- 3306

Expand Down

0 comments on commit 2382ea8

Please sign in to comment.