Skip to content

Commit

Permalink
Merge pull request #6 from AngryBytes/feat/php82
Browse files Browse the repository at this point in the history
Add PHP 8.2 support
  • Loading branch information
stephank authored Feb 20, 2023
2 parents 3b84e21 + 8c14de1 commit b1de636
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['7.4', '8.0', '8.1', '8.2']
name: PHP ${{ matrix.php-versions }} tests
steps:
- name: Checkout
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.0.1

### PHP support

- Added support for PHP `8.2`.

## 2.0.0

### PHP support
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"scripts": {
"phpcheck": [
"./vendor/bin/phpstan analyse -c phpstan.neon -l max --memory-limit=1G src/ tests/",
"./vendor/bin/phpstan analyse -c phpstan.neon -l 8 --memory-limit=1G src/ tests/",
"./vendor/bin/phpcs -p --standard=PSR2 --extensions=php src/ tests/"
],
"phpcbf": [
Expand All @@ -40,13 +40,13 @@
},
"minimum-stability": "stable",
"require": {
"php": "7.4.* || 8.0.* || 8.1.*",
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.*",
"ext-json": "*",
"symfony/finder": "^5.0.0"
},
"require-dev": {
"phpstan/phpstan": "1.2.0",
"phpunit/phpunit": "9.5.10",
"squizlabs/php_codesniffer": "3.6.2"
"phpstan/phpstan": "1.9.12",
"phpunit/phpunit": "9.5.28",
"squizlabs/php_codesniffer": "3.7.1"
}
}

0 comments on commit b1de636

Please sign in to comment.