Skip to content

Commit

Permalink
drop support for PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy committed May 24, 2024
1 parent 7cb566a commit 6e99699
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-swoole.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1", "8.2", "8.3"]
php: ["8.1", "8.2", "8.3"]

name: PHP ${{ matrix.php }} - Swoole

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/syntax_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ["8.0", "8.1", "8.2", "8.3"]
php: ["8.1", "8.2", "8.3"]

name: Syntax Checks Under PHP ${{ matrix.php }}

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@ name: Unit Tests
on: [ push, pull_request, workflow_dispatch ]

jobs:
# Run unit tests with Swoole 5.0, Swoole 5.1, and latest code of Swoole.
# Run unit tests with Swoole 5.1+.
unit-tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
php: ["8.0", "8.1", "8.2", "8.3"]
swoole-prefix: ["5.0-", "5.1-", ""]
exclude:
- php: "8.3"
swoole-prefix: "5.0-"
php: ["8.1", "8.2", "8.3"]
swoole-prefix: ["5.1-", ""]

name: Run Tests Using Image ${{ matrix.swoole-prefix }}php${{ matrix.php }}

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"issues": "https://github.com/swoole/library"
},
"require": {
"php": ">=8.0",
"ext-swoole": ">=5.0"
"php": ">=8.1",
"ext-swoole": ">=6.0"
},
"require-dev": {
"ext-sockets": "*",
Expand Down

0 comments on commit 6e99699

Please sign in to comment.