Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop php <8.2 version support #314

Open
wants to merge 2 commits into
base: 1.6.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions .docker/php53/Dockerfile

This file was deleted.

34 changes: 0 additions & 34 deletions .docker/php54/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions .docker/php55_71/Dockerfile

This file was deleted.

56 changes: 0 additions & 56 deletions .docker/php72_73/Dockerfile

This file was deleted.

File renamed without changes.
3 changes: 0 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
memcached-version:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"license": "MIT",
"require": {
"php" : ">=5.3.0",
"php" : ">=8.2.0",
"swiftmailer/swiftmailer": "~5.2 || ^6.0"
},
"require-dev": {
Expand Down
131 changes: 7 additions & 124 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,13 @@ services:
- |
exec tail -f /dev/null

php53:
build: .docker/php53
working_dir: /app
volumes:
- .:/app
- db_socket:/var/run/mysqld
entrypoint:
- sh
- -c
- |
{
echo 'pdo_mysql.default_socket = /var/run/mysqld/mysql.sock'
echo 'memory_limit = -1'
echo 'short_open_tag = off'
echo 'magic_quotes_gpc = off'
echo 'date.timezone = "UTC"'
echo 'apc.enable_cli = on'
echo 'apc.use_request_time = 0'
} | tee -a /usr/local/lib/php.ini

exec tail -f /dev/null
depends_on:
- db

php54: &services_php54
php82: &services_php82
build:
context: .docker/php54
context: .docker/php82_83
args:
MEMCACHE_VERSION: '3.0.8'
PHP_VERSION: '8.2'
MEMCACHE_VERSION: '8.0'
APCU_VERSION: '5.1.23'
environment:
MEMCACHED_HOST: memcached
working_dir: /app
Expand All @@ -69,105 +47,10 @@ services:
- db
- memcached

php55:
<<: *services_php54
build:
context: .docker/php55_71
args:
PHP_TAG: '5.5-cli'
MEMCACHE_VERSION: '3.0.8'
APCU_VERSION: '4.0.11'

php56:
<<: *services_php54
build:
context: .docker/php55_71
args:
PHP_TAG: '5.6-cli-jessie'
MEMCACHE_VERSION: '3.0.8'
APCU_VERSION: '4.0.11'

php70:
<<: *services_php54
build:
context: .docker/php55_71
args:
PHP_TAG: '7.0-cli-jessie'
MEMCACHE_VERSION: '4.0.5.2'
APCU_VERSION: '5.1.23'

php71:
<<: *services_php54
build:
context: .docker/php55_71
args:
PHP_TAG: '7.1-cli-jessie'
MEMCACHE_VERSION: '4.0.5.2'
APCU_VERSION: '5.1.23'


php72:
<<: *services_php54
build:
context: .docker/php72_73
args:
PHP_VERSION: '7.2'
MEMCACHE_VERSION: '4.0.5.2'
APCU_VERSION: '5.1.23'


php73:
<<: *services_php54
build:
context: .docker/php72_73
args:
PHP_VERSION: '7.3'
MEMCACHE_VERSION: '4.0.5.2'
APCU_VERSION: '5.1.23'


php74:
<<: *services_php54
build:
context: .docker/php74_83
args:
PHP_VERSION: '7.4'
MEMCACHE_VERSION: '4.0.5.2'
APCU_VERSION: '5.1.23'


php80:
<<: *services_php54
build:
context: .docker/php74_83
args:
PHP_VERSION: '8.0'
MEMCACHE_VERSION: '8.0'
APCU_VERSION: '5.1.23'


php81:
<<: *services_php54
build:
context: .docker/php74_83
args:
PHP_VERSION: '8.1'
MEMCACHE_VERSION: '8.0'
APCU_VERSION: '5.1.23'

php82:
<<: *services_php54
build:
context: .docker/php74_83
args:
PHP_VERSION: '8.2'
MEMCACHE_VERSION: '8.0'
APCU_VERSION: '5.1.23'

php83:
<<: *services_php54
<<: *services_php82
build:
context: .docker/php74_83
context: .docker/php82_83
args:
PHP_VERSION: '8.3'
MEMCACHE_VERSION: '8.0'
Expand Down