This commit is contained in:
Yassine Guedidi 2024-04-24 21:23:40 +02:00 committed by GitHub
commit 45734b21e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 10 deletions

View file

@ -24,7 +24,7 @@ If you want to test using an other database than SQLite, uncomment the `postgres
### Using your own PHP server ### Using your own PHP server
- Ensure you are running PHP >= 7.4. - Ensure you are running PHP >= 8.1.
- Clone the repository - Clone the repository
- Launch `composer install` - Launch `composer install`
- If you got some errors, fix them (they might be related to some missing PHP extension from your machine) - If you got some errors, fix them (they might be related to some missing PHP extension from your machine)

View file

@ -23,7 +23,7 @@ jobs:
uses: "shivammathur/setup-php@v2" uses: "shivammathur/setup-php@v2"
with: with:
coverage: "none" coverage: "none"
php-version: "7.4" php-version: "8.1"
tools: cs2pr, pecl tools: cs2pr, pecl
extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy
ini-values: "date.timezone=Europe/Paris" ini-values: "date.timezone=Europe/Paris"

View file

@ -31,8 +31,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
php: php:
- "7.4"
- "8.0"
- "8.1" - "8.1"
- "8.2" - "8.2"
- "8.3" - "8.3"

View file

@ -18,7 +18,7 @@ jobs:
strategy: strategy:
matrix: matrix:
php: php:
- "7.4" - "8.1"
steps: steps:
- name: "Checkout" - name: "Checkout"

View file

@ -12,7 +12,7 @@ jobs:
strategy: strategy:
matrix: matrix:
php: php:
- "7.4" - "8.1"
steps: steps:
- name: "Checkout" - name: "Checkout"

View file

@ -25,13 +25,13 @@ During this documentation, we assume the release is `$LAST_WALLABAG_RELEASE` (li
### Target PHP version ### Target PHP version
`composer.lock` is _always_ built for a particular version, by default the one it is generated (with `composer update`). `composer.lock` is _always_ built for a particular version, by default the one it is generated (with `composer update`).
If the PHP version used to generate the .lock isn't a widely available one (like PHP 8), a more common one should If the PHP version used to generate the .lock isn't a widely available one (like latest PHP versions), a more common one should
be locally specified in `composer.lock`: be locally specified in `composer.lock`:
```json ```json
"config": { "config": {
"platform": { "platform": {
"php": "7.4.29", "php": "8.1.26",
"ext-something": "4.0" "ext-something": "4.0"
} }
} }

View file

@ -38,7 +38,7 @@
"issues": "https://github.com/wallabag/wallabag/issues" "issues": "https://github.com/wallabag/wallabag/issues"
}, },
"require": { "require": {
"php": ">=7.4", "php": ">=8.1",
"ext-ctype": "*", "ext-ctype": "*",
"ext-curl": "*", "ext-curl": "*",
"ext-dom": "*", "ext-dom": "*",
@ -221,7 +221,7 @@
}, },
"bin-dir": "bin", "bin-dir": "bin",
"platform": { "platform": {
"php": "7.4.29" "php": "8.1.26"
}, },
"sort-packages": true "sort-packages": true
}, },