Skip to content

Commit 2b15977

Browse files
committed
Adjust support baseline to PHP 7.2+ for CI reliability
1 parent a2e0cce commit 2b15977

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
include:
16-
- php: '7.0'
17-
composer: 'v1'
18-
- php: '7.4'
19-
composer: 'v2'
20-
- php: '8.0'
21-
composer: 'v2'
22-
- php: '8.4'
23-
composer: 'v2'
15+
php:
16+
- '7.2'
17+
- '7.4'
18+
- '8.0'
19+
- '8.4'
2420

2521
steps:
2622
- name: Checkout
@@ -30,7 +26,7 @@ jobs:
3026
uses: shivammathur/setup-php@v2
3127
with:
3228
php-version: ${{ matrix.php }}
33-
tools: composer:${{ matrix.composer }}
29+
tools: composer:v2
3430
coverage: none
3531

3632
- name: Install dependencies

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
The PHP SSH Connection package provides an elegant syntax to connect to SSH servers and execute commands. It supports password and public-private key authentication, and can capture command output and errors.
66

7+
Supported runtimes: PHP 7.2+ and PHP 8.x.
8+
79
## Installation
810

911
Install with Composer:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=7.0",
13+
"php": ">=7.2",
1414
"phpseclib/phpseclib": "^2.0"
1515
},
1616
"require-dev": {

0 commit comments

Comments
 (0)