Drop PHP < 8.0 (#91)

This commit is contained in:
Cyril Chapellier 2023-06-25 12:59:42 +02:00 committed by GitHub
parent 2599f2087e
commit bf4c023425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 260 additions and 438 deletions

View File

@ -75,8 +75,6 @@ jobs:
strategy:
matrix:
php:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'

View File

@ -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

View File

@ -4,7 +4,7 @@
"type": "project",
"license": "MIT",
"require": {
"php": "^7.3.0 || ^8.0",
"php": "^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-gd": "*",
@ -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",
@ -58,7 +58,7 @@
},
"sort-packages": true,
"platform": {
"php": "7.3.12"
"php": "8.0.28"
},
"allow-plugins": {
"composer/package-versions-deprecated": true,

670
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -114,12 +114,6 @@
"laminas/laminas-code": {
"version": "3.4.1"
},
"laminas/laminas-eventmanager": {
"version": "3.3.0"
},
"laminas/laminas-zendframework-bridge": {
"version": "1.1.1"
},
"monolog/monolog": {
"version": "2.1.1"
},
@ -135,9 +129,6 @@
"phar-io/version": {
"version": "3.1.0"
},
"php-cs-fixer/diff": {
"version": "v1.3.0"
},
"phpdocumentor/reflection-common": {
"version": "2.2.0"
},