Skip to content

Commit

Permalink
Remove PHP <7.4 support
Browse files Browse the repository at this point in the history
Undoing the changes in #70 is too annoying right now, and it's high time everyone stopped using PHP <7.4 anyway.

This is going to coincide with a major version bump.
  • Loading branch information
paragonie-security committed Dec 18, 2023
1 parent b92d0e1 commit fa924eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']

continue-on-error: ${{ matrix.php-versions == '8.2' }}
continue-on-error: ${{ matrix.php-versions == '8.3' }}

steps:
- name: Checkout
Expand All @@ -26,11 +26,11 @@ jobs:
coverage: none

- name: Install Composer dependencies (PHP < 8.1)
if: ${{ matrix.php-versions != '8.2' }}
if: ${{ matrix.php-versions != '8.3' }}
uses: "ramsey/composer-install@v1"

- name: Install Composer dependencies - ignore-platform-reqs (PHP 8.1)
if: ${{ matrix.php-versions == '8.2' }}
if: ${{ matrix.php-versions == '8.3' }}
uses: "ramsey/composer-install@v1"
with:
composer-options: --ignore-platform-reqs
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"require": {
"php": "^7.1|^8",
"php": "^7.4|^8",
"ext-json": "*",
"paragonie/constant_time_encoding": "^2",
"psr/http-message": "^1|^2",
Expand Down

0 comments on commit fa924eb

Please sign in to comment.