Skip to content

Commit

Permalink
The great reaping of old PHP versions, drop 20.04 support too.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jan 30, 2025
1 parent ae2ba4e commit b334b49
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 54 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,11 @@ jobs:
# PHP 8.2.
- distro: rockylinux9
playbook: 8.2.yml
- distro: ubuntu2404
- distro: ubuntu2204
playbook: 8.2.yml
- distro: debian12
playbook: 8.2.yml

# PHP 7.4.
- distro: ubuntu2004
playbook: 7.4.yml
- distro: debian12
playbook: 7.4.yml

steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Available variables are listed below, along with default values (see `defaults/m

php_version: '8.3'

The PHP version to be installed. Any [currently-supported PHP major version](http://php.net/supported-versions.php) is a valid option (e.g. `7.4`, `8.1`, `8.2`, or `8.3`).
The PHP version to be installed. Any [currently-supported PHP major version](http://php.net/supported-versions.php) is a valid option (e.g. `8.1`, `8.2`, or `8.3`).

php_versions_install_recommends: false

Expand Down
4 changes: 1 addition & 3 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ galaxy_info:
- all
- name: Ubuntu
versions:
- trusty
- xenial
- bionic
- jammy
- noble
galaxy_tags:
- php
- web
Expand Down
24 changes: 0 additions & 24 deletions molecule/default/7.4.yml

This file was deleted.

14 changes: 0 additions & 14 deletions tasks/setup-RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
---
# TODO: PHP 7.2 support will be removed soon. This is only being left in here as
# a convenience for legacy PHP 7.2 users.
- name: Enable remi repo for PHP 7.2.
set_fact: php_enablerepo="remi,remi-php72"
when: php_version == "7.2"

- name: Enable remi repo for PHP 7.3.
set_fact: php_enablerepo="remi,remi-php73"
when: php_version == "7.3"

- name: Enable remi repo for PHP 7.4.
set_fact: php_enablerepo="remi,remi-php74"
when: php_version == "7.4"

- name: Enable remi repo for PHP 8.0.
set_fact: php_enablerepo="remi,remi-php80"
when: php_version == "8.0"
Expand Down
5 changes: 0 additions & 5 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ __php_packages:
- "php{{ php_version }}-yaml"

php_versions_debian:
# TODO: PHP 7.2 support will be removed soon. This is only being left in here as
# a convenience for legacy PHP 7.2 users.
- php7.2-common
- php7.3-common
- php7.4-common
- php8.0-common
- php8.1-common
- php8.2-common
Expand Down

0 comments on commit b334b49

Please sign in to comment.