Skip to content

Commit e191a11

Browse files
committed
Revert "Bump dependencies"
This reverts commit b02d668.
1 parent a510775 commit e191a11

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
operating-system: [ubuntu-latest]
48-
php-versions: ['8.3', '8.4', '8.5']
49-
jwt-version: ['^4.1.3']
48+
php-versions: ['8.2', '8.3', '8.4', '8.5']
49+
jwt-version: ['^3.4', '^4.0.2']
5050

5151
steps:
5252
- name: Setup PHP, with composer and extensions
@@ -89,15 +89,15 @@ jobs:
8989
run: composer install --no-progress --prefer-dist --optimize-autoloader
9090

9191
- name: Run unit tests with coverage
92-
if: ${{ matrix.php-versions == '8.5' && matrix.jwt-version == '^4.1.3' }}
92+
if: ${{ matrix.php-versions == '8.5' && matrix.jwt-version == '^4.0.2' }}
9393
run: vendor/bin/phpunit
9494

9595
- name: Run unit tests (no coverage)
9696
if: ${{ matrix.php-versions != '8.5' }}
9797
run: vendor/bin/phpunit --no-coverage
9898

9999
- name: Save coverage data
100-
if: ${{ matrix.php-versions == '8.5' && matrix.jwt-version == '^4.1.3' }}
100+
if: ${{ matrix.php-versions == '8.5' && matrix.jwt-version == '^4.0.2' }}
101101
uses: actions/upload-artifact@v7
102102
with:
103103
name: coverage-data
@@ -111,8 +111,8 @@ jobs:
111111
fail-fast: true
112112
matrix:
113113
operating-system: [windows-latest]
114-
php-versions: ['8.3', '8.4', '8.5']
115-
jwt-version: ['^4.1.3']
114+
php-versions: ['8.2', '8.4', '8.5']
115+
jwt-version: ['^4.0.2']
116116

117117
steps:
118118
- name: Setup PHP, with composer and extensions
@@ -227,7 +227,7 @@ jobs:
227227
uses: shivammathur/setup-php@v2
228228
with:
229229
# Should be the lowest supported version
230-
php-version: '8.3'
230+
php-version: '8.2'
231231
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml
232232
tools: composer
233233
coverage: none

composer.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@
2121
}
2222
},
2323
"require": {
24-
"php": "^8.3",
24+
"php": "^8.2",
2525
"ext-gmp": "*",
2626
"ext-filter": "*",
2727
"ext-mbstring": "*",
2828
"ext-hash": "*",
2929

30-
"guzzlehttp/guzzle": "^7.10",
30+
"guzzlehttp/guzzle": "^7.8",
3131
"psr/http-client": "^1",
3232
"psr/http-message": "^2",
3333
"psr/log": "^3",
3434
"psr/simple-cache": "^3",
35-
"web-token/jwt-library": "^4.1"
35+
"web-token/jwt-library": "^3.4 || ^4.0.2"
3636
},
3737
"require-dev": {
3838
"phpstan/phpstan": "^2.1",
39-
"phpunit/phpunit": "^11 || ^12.3 || ^13",
39+
"phpunit/phpunit": "^10 || ^11",
4040
"rector/rector": "^2.0",
41-
"simplesamlphp/simplesamlphp-test-framework": "^1.11",
42-
"squizlabs/php_codesniffer": "^4"
41+
"simplesamlphp/simplesamlphp-test-framework": "^1",
42+
"squizlabs/php_codesniffer": "^3"
4343
},
4444
"conflict": {
4545
"rector/rector": "2.3.0"
@@ -49,9 +49,7 @@
4949
"cache-dir": "build/composer",
5050
"allow-plugins": {
5151
"dealerdirect/phpcodesniffer-composer-installer": true,
52-
"phpstan/extension-installer": true,
53-
"simplesamlphp/composer-module-installer": true,
54-
"simplesamlphp/composer-xmlprovider-installer": true
52+
"phpstan/extension-installer": true
5553
}
5654
},
5755
"extra": {

0 commit comments

Comments
 (0)