From fbc7ccd09b64dfc6120ec714c11fe09f3f74ab7a Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 12 Nov 2022 11:47:45 +0100 Subject: [PATCH] chore: drop PHP 7.2 and 7.3 --- .github/workflows/lint-and-analyse.yml | 4 ++-- .github/workflows/tests.yml | 8 ++++---- CHANGELOG.md | 1 + README.rst | 2 +- bin/doctum-binary.php | 8 ++++++-- composer.json | 2 +- 6 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint-and-analyse.yml b/.github/workflows/lint-and-analyse.yml index 7067348cb..9dec0bbff 100644 --- a/.github/workflows/lint-and-analyse.yml +++ b/.github/workflows/lint-and-analyse.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use php 7.2 + - name: Use php 7.4 uses: shivammathur/setup-php@v2 with: - php-version: 7.2 + php-version: 7.4 tools: composer:v2 - name: Validate composer.json and composer.lock run: composer validate diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41a5109c9..07b0fd40d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: continue-on-error: ${{ matrix.experimental }} strategy: matrix: - php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] + php-version: ["7.4", "8.0", "8.1", "8.2"] os: [ubuntu-latest] experimental: [false] composer-options: [''] @@ -52,7 +52,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] + php-version: ["7.4", "8.0", "8.1", "8.2"] os: [ubuntu-latest] experimental: [false] composer-options: [''] @@ -83,7 +83,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] + php-version: ["7.4", "8.0", "8.1", "8.2"] os: [ubuntu-latest] experimental: [false] composer-options: [''] @@ -118,7 +118,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] + php-version: ["7.4", "8.0", "8.1", "8.2"] os: [ubuntu-latest] experimental: [false] composer-options: [''] diff --git a/CHANGELOG.md b/CHANGELOG.md index 68ef47fe8..5ba228436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - yyyy-mm-dd +- Require PHP `7.4.26` - Fixed a JS null pointer error on Doctum.cleanSearchQuery ## [5.5.1] - 2022-02-17 diff --git a/README.rst b/README.rst index ccf8595e4..70b80528d 100644 --- a/README.rst +++ b/README.rst @@ -23,7 +23,7 @@ Installation .. caution:: - Doctum requires **PHP 7.2.20** or later. + Doctum requires **PHP 7.4.26** or later. Get Doctum as a `phar file`_: diff --git a/bin/doctum-binary.php b/bin/doctum-binary.php index 37082089b..95b189132 100644 --- a/bin/doctum-binary.php +++ b/bin/doctum-binary.php @@ -1,7 +1,11 @@