Skip to content

Commit b1de636

Browse files
authored
Merge pull request #6 from AngryBytes/feat/php82
Add PHP 8.2 support
2 parents 3b84e21 + 8c14de1 commit b1de636

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/php-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
php-versions: ['7.4', '8.0', '8.1']
8+
php-versions: ['7.4', '8.0', '8.1', '8.2']
99
name: PHP ${{ matrix.php-versions }} tests
1010
steps:
1111
- name: Checkout

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.0.1
4+
5+
### PHP support
6+
7+
- Added support for PHP `8.2`.
8+
39
## 2.0.0
410

511
### PHP support

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"scripts": {
3030
"phpcheck": [
31-
"./vendor/bin/phpstan analyse -c phpstan.neon -l max --memory-limit=1G src/ tests/",
31+
"./vendor/bin/phpstan analyse -c phpstan.neon -l 8 --memory-limit=1G src/ tests/",
3232
"./vendor/bin/phpcs -p --standard=PSR2 --extensions=php src/ tests/"
3333
],
3434
"phpcbf": [
@@ -40,13 +40,13 @@
4040
},
4141
"minimum-stability": "stable",
4242
"require": {
43-
"php": "7.4.* || 8.0.* || 8.1.*",
43+
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.*",
4444
"ext-json": "*",
4545
"symfony/finder": "^5.0.0"
4646
},
4747
"require-dev": {
48-
"phpstan/phpstan": "1.2.0",
49-
"phpunit/phpunit": "9.5.10",
50-
"squizlabs/php_codesniffer": "3.6.2"
48+
"phpstan/phpstan": "1.9.12",
49+
"phpunit/phpunit": "9.5.28",
50+
"squizlabs/php_codesniffer": "3.7.1"
5151
}
5252
}

0 commit comments

Comments
 (0)