Skip to content

Commit

Permalink
Update dependencies (#83)
Browse files Browse the repository at this point in the history
Also pin the minimum required php-version to 8.2
  • Loading branch information
usox authored Mar 8, 2024
1 parent a48decc commit 2cc93c9
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 304 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest']
php: ['8.1', '8.2', '8.3']
continue-on-error: ${{ matrix.php == '8.3' }}
php: ['8.2', '8.3']
steps:
- uses: actions/checkout@v4

Expand All @@ -27,21 +26,12 @@ jobs:
run: composer validate

- name: Install dependencies
if: ${{ matrix.php != '8.3' }}
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 3
command: composer update --no-interaction --no-progress

- name: Install Dependencies (ignore platform)
if: ${{ matrix.php == '8.3' }}
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 3
command: composer update --no-interaction --no-progress --ignore-platform-req=php

- name: Run QA checks
run: composer run-script qa
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Compatibility

| Connector-Version | PHP-Version(s) |
|---------------------------------|-------------------------|
| **master** (dev) | TBD |
| **master** (dev) | 8.2, 8.3 |
| **3.x** (features and bugfixes) | 7.4, 8.0, 8.1, 8.2, 8.3 |
| **2.x** (EOL) | 7.3, 7.4, 8.0, 8.1 |
| **1.x** (EOL) | 7.2, 7.3, 7.4 |
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-json": "*",
"php-http/discovery": "^1.13",
"php-http/multipart-stream-builder": "^1.1",
"psr/http-factory": "^1.0"
},
"require-dev": {
"php": "^8.2",
"friendsofphp/php-cs-fixer": "^3.5",
"guzzlehttp/guzzle": "^7.0",
"nyholm/psr7": "^1.4",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-mockery": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1",
"phpunit/phpunit": "^10"
"phpunit/phpunit": "^11"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 2cc93c9

Please sign in to comment.