Skip to content

Commit 7ed1ece

Browse files
authored
Merge pull request #29 from JSignPdf/chore/bump-php-and-update-dependencies
chore: bump php and update dependencies
2 parents 8582253 + a2f3150 commit 7ed1ece

7 files changed

Lines changed: 1733 additions & 2074 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
strategy:
4040
matrix:
41-
php-versions: [8.0]
41+
php-versions: [8.1, 8.2, 8.3, 8.4]
4242

4343
name: PHP ${{ matrix.php-versions }}
4444

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
.phpunit.result.cache
33
vendor
4+
/vendor-bin/**/vendor/

composer.json

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
],
2020
"minimum-stability": "stable",
2121
"require": {
22-
"php": "^7.4|^8.0",
22+
"php": "^8.1",
2323
"ext-openssl": "*",
2424
"ext-json": "*"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^9.5"
27+
"bamarni/composer-bin-plugin": "^1.8"
2828
},
2929
"autoload": {
3030
"psr-4": {
@@ -37,7 +37,28 @@
3737
}
3838
},
3939
"scripts": {
40-
"test:unit": "vendor/bin/phpunit --no-coverage --colors=always --fail-on-warning --fail-on-risky",
40+
"post-install-cmd": [
41+
"@composer bin all install --ansi",
42+
"composer dump-autoload"
43+
],
44+
"post-update-cmd": [
45+
"composer dump-autoload"
46+
],
47+
"test:unit": "vendor/bin/phpunit --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
4148
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit"
49+
},
50+
"extra": {
51+
"bamarni-bin": {
52+
"bin-links": true,
53+
"forward-command": true
54+
}
55+
},
56+
"config": {
57+
"allow-plugins": {
58+
"bamarni/composer-bin-plugin": true
59+
},
60+
"platform": {
61+
"php": "8.1"
62+
}
4263
}
4364
}

0 commit comments

Comments
 (0)