Skip to content

Commit

Permalink
Drop PHP < 8.0 (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchapi authored Jun 25, 2023
1 parent 2599f20 commit bf4c023
Show file tree
Hide file tree
Showing 5 changed files with 260 additions and 438 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ jobs:
strategy:
matrix:
php:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,20 @@ Created and maintained (with the help of the community) by [@tchapi](https://git

# Requirements

- PHP > 7.3.0 (with `pdo_mysql` [or `pdo_pgsql`, `pdo_sqlite`], `gd` and `intl` extensions), compatible up to PHP 8.2
- PHP > 7.3.0 (with `pdo_mysql` [or `pdo_pgsql`, `pdo_sqlite`], `gd` and `intl` extensions), compatible up to PHP 8.2 (_See dependencies table below_)
- A compatible database layer, such as MySQL or MariaDB (recommended), PostgreSQL (not extensively tested yet) or SQLite (not extensively tested yet)
- Composer > 2 (_The last release compatible with Composer 1 is [v1.6.2](https://github.com/tchapi/davis/releases/tag/v1.6.2)_)
- The [`imap`](https://www.php.net/manual/en/imap.installation.php) and [`ldap`](https://www.php.net/manual/en/ldap.installation.php) PHP extensions if you want to use either authentication methods (_these are not enabled / compiled by default except in the Docker image_)

Dependencies
------------

| Release | Status | PHP version |
|--------------------|----------------------------|--------------------|
| `master` (edge) | development branch | PHP 8.0+ |
| `v4.*` | active | PHP 8.0+ |
| `v3.*` | security fixes only | PHP 7.3 → 8.2 |

# Installation

0. Clone this repository
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"license": "MIT",
"require": {
"php": "^7.3.0 || ^8.0",
"php": "^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-gd": "*",
Expand Down Expand Up @@ -42,7 +42,7 @@
"symfony/yaml": "^5.4.21"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4.0",
"friendsofphp/php-cs-fixer": "^3.14.0",
"phpunit/phpunit": "^9.6",
"symfony/browser-kit": "^5.4.21",
"symfony/css-selector": "^5.4.21",
Expand All @@ -58,7 +58,7 @@
},
"sort-packages": true,
"platform": {
"php": "7.3.12"
"php": "8.0.28"
},
"allow-plugins": {
"composer/package-versions-deprecated": true,
Expand Down
Loading

0 comments on commit bf4c023

Please sign in to comment.