diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 6e2755201..ab765c7d1 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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.4. +- Ensure you are running PHP >= 8.1. - 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) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index e54d23ba2..ef24cc72b 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -23,7 +23,7 @@ jobs: uses: "shivammathur/setup-php@v2" with: coverage: "none" - php-version: "7.4" + php-version: "8.1" tools: cs2pr, pecl extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy ini-values: "date.timezone=Europe/Paris" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1739c91c7..6b685db74 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -31,8 +31,6 @@ jobs: fail-fast: false matrix: php: - - "7.4" - - "8.0" - "8.1" - "8.2" - "8.3" diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 8b1658d31..98e4f9d2e 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: php: - - "7.4" + - "8.1" steps: - name: "Checkout" diff --git a/.github/workflows/upload-release-package.yml b/.github/workflows/upload-release-package.yml index 0fc41360e..327b88c15 100644 --- a/.github/workflows/upload-release-package.yml +++ b/.github/workflows/upload-release-package.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: php: - - "7.4" + - "8.1" steps: - name: "Checkout" diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index 30dc85411..7ae0411f3 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -25,13 +25,13 @@ During this documentation, we assume the release is `$LAST_WALLABAG_RELEASE` (li ### Target PHP version `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`: ```json "config": { "platform": { - "php": "7.4.29", + "php": "8.1.26", "ext-something": "4.0" } } diff --git a/composer.json b/composer.json index 1c4d7743c..17cb52b0f 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "issues": "https://github.com/wallabag/wallabag/issues" }, "require": { - "php": ">=7.4", + "php": ">=8.1", "ext-ctype": "*", "ext-curl": "*", "ext-dom": "*", @@ -210,7 +210,7 @@ }, "bin-dir": "bin", "platform": { - "php": "7.4.29" + "php": "8.1.26" }, "sort-packages": true },