Skip to content

Commit 2ce6a33

Browse files
authored
Php 8.2 verification (#12)
- Added PHP 8.2 tests - Added check for available cipher-methods of OpenSSL. - Minor code optimizations
1 parent 1a9a3b5 commit 2ce6a33

File tree

4 files changed

+133
-116
lines changed

4 files changed

+133
-116
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-20.04
3030
strategy:
3131
matrix:
32-
php: ['7.3', '7.4', '8.0', '8.1']
32+
php: ['7.3', '7.4', '8.0', '8.1', '8.2']
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v2
@@ -43,7 +43,7 @@ jobs:
4343
php-version: "${{ matrix.php }}"
4444

4545
- name: Upgrade phpunit
46-
run: composer require --dev --with-all-dependencies "phpunit/phpunit=^9.0"
46+
run: composer require --dev --no-interaction --no-update "phpunit/phpunit:^9.0"
4747

4848
- name: Install dependencies
4949
run: composer update --dev --no-interaction --prefer-dist --no-progress --no-suggest --ansi

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
}
1818
},
1919
"require": {
20-
"php": "^5.6 || ^7.0 || ^8.0",
20+
"php": "^5.6 || ^7.0 || ^8.0 || ^8.1 || ^8.2",
2121
"ext-openssl": "*",
22-
"setasign/fpdi": "^2.0",
23-
"setasign/fpdf": "^1.8.4"
22+
"setasign/fpdi": "^2.3.6",
23+
"setasign/fpdf": "^1.8.5"
2424
},
2525
"authors": [
2626
{

0 commit comments

Comments
 (0)