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
0 commit comments