Skip to content

Commit

Permalink
Merge pull request #202 from sprain/php82
Browse files Browse the repository at this point in the history
Add support for PHP 8.2
  • Loading branch information
sprain committed Dec 8, 2022
2 parents e3ea3ad + d61a863 commit 19362fb
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 131 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
php: ['8.0', '8.1']
php: ['8.0', '8.1', '8.2']
stability: ['prefer-lowest', 'prefer-stable']

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
run: php -d allow_url_fopen=0 -d memory_limit=128M -d register_globals=0 vendor/bin/phpunit --verbose

- name: Check coding standard
run: vendor/bin/php-cs-fixer --no-interaction --dry-run --diff -v fix src/
run: PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer --no-interaction --dry-run --diff -v fix src/

- name: Static analysis
run: vendor/bin/phpstan analyse
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^8.0.0|^8.1.0",
"php": "^8.0.0|^8.1.0|^8.2.0",
"ext-dom": "*",
"symfony/validator": "^4.4|^5.0|^6.0",
"symfony/intl": "^4.4|^5.0|^6.0",
Expand Down
Loading

0 comments on commit 19362fb

Please sign in to comment.