mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-16 10:45:14 +00:00
Drop PHP prior to 7.4
This commit is contained in:
parent
788cb7c4c3
commit
1bd86e156e
5 changed files with 10 additions and 22 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -24,7 +24,7 @@ If you want to test using an other database than SQLite, uncomment the `postgres
|
|||
|
||||
### Using your own PHP server
|
||||
|
||||
- Ensure you are running PHP > 7.1.
|
||||
- Ensure you are running PHP >= 7.4.
|
||||
- Clone the repository
|
||||
- Launch `composer install`
|
||||
- If you got some errors, fix them (they might be related to some missing PHP extension from your machine)
|
||||
|
|
18
.github/workflows/continuous-integration.yml
vendored
18
.github/workflows/continuous-integration.yml
vendored
|
@ -29,8 +29,6 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
php:
|
||||
- "7.2"
|
||||
- "7.3"
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
- "8.1"
|
||||
|
@ -54,21 +52,11 @@ jobs:
|
|||
extensions: json, pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy
|
||||
ini-values: "date.timezone=Europe/Paris"
|
||||
|
||||
- name: "Install MySQL (for PHP < 7.4)"
|
||||
# there is an issue with PHP < 7.4 and MySQL 8 with `caching_sha2_password`
|
||||
if: "${{ matrix.database == 'mysql' && (matrix.php == '7.2' || matrix.php == '7.3') }}"
|
||||
uses: shogo82148/actions-setup-mysql@v1
|
||||
with:
|
||||
root-password: root
|
||||
mysql-version: '5.7'
|
||||
|
||||
- name: "Install MySQL (for PHP >= 7.4)"
|
||||
if: "${{ matrix.database == 'mysql' && matrix.php != '7.2' && matrix.php != '7.3' }}"
|
||||
run: sudo systemctl start mysql.service
|
||||
|
||||
- name: "Setup MySQL"
|
||||
if: "${{ matrix.database == 'mysql' }}"
|
||||
run: sudo mysql -u root -proot -h 127.0.0.1 -e "CREATE DATABASE wallabag_test"
|
||||
run: |
|
||||
sudo systemctl start mysql.service
|
||||
sudo mysql -u root -proot -h 127.0.0.1 -e "CREATE DATABASE wallabag_test"
|
||||
|
||||
- name: "Setup PostgreSQL"
|
||||
if: "${{ matrix.database == 'pgsql' }}"
|
||||
|
|
|
@ -38,7 +38,7 @@ be locally specified in `composer.lock`:
|
|||
```json
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "7.1.3",
|
||||
"php": "7.4.29",
|
||||
"ext-something": "4.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"issues": "https://github.com/wallabag/wallabag/issues"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.2.5",
|
||||
"php": ">=7.4",
|
||||
"composer": "< 2.3",
|
||||
"ext-ctype": "*",
|
||||
"ext-curl": "*",
|
||||
|
@ -164,7 +164,7 @@
|
|||
"config": {
|
||||
"bin-dir": "bin",
|
||||
"platform": {
|
||||
"php": "7.2.5"
|
||||
"php": "7.4.29"
|
||||
},
|
||||
"sort-packages": true,
|
||||
"allow-plugins": {
|
||||
|
|
6
composer.lock
generated
6
composer.lock
generated
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "3db24875e7ef009b7598c36bafac8a3a",
|
||||
"content-hash": "0d0c51bee0ced9698321d0fd2ad33aca",
|
||||
"packages": [
|
||||
{
|
||||
"name": "babdev/pagerfanta-bundle",
|
||||
|
@ -12926,7 +12926,7 @@
|
|||
"prefer-stable": true,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"php": ">=7.2.5",
|
||||
"php": ">=7.4",
|
||||
"composer": "< 2.3",
|
||||
"ext-ctype": "*",
|
||||
"ext-curl": "*",
|
||||
|
@ -12947,7 +12947,7 @@
|
|||
},
|
||||
"platform-dev": [],
|
||||
"platform-overrides": {
|
||||
"php": "7.2.5"
|
||||
"php": "7.4.29"
|
||||
},
|
||||
"plugin-api-version": "2.2.0"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue