Skip to content

Commit d097b24

Browse files
committed
Support PHP 8.2
Also updated to PHP 8.0 with Rector.
1 parent 7aae1d2 commit d097b24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+608
-1065
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
operating-system: ['ubuntu-latest']
14-
php-version: ['7.3', '7.4', '8.0', '8.1']
15-
composer-version: ['composer:v1', 'composer:v2']
14+
php-version: ['8.0', '8.1', '8.2']
15+
composer-version: ['composer:v2']
1616

1717
steps:
1818
- name: Checkout
@@ -26,7 +26,7 @@ jobs:
2626
extensions: mbstring, xdebug
2727

2828
- name: Install dependencies
29-
run: composer install --no-progress --no-suggest --prefer-dist
29+
run: composer install --no-progress --prefer-dist
3030

3131
- name: Analyse
3232
run: composer run analyse

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=7.3",
14+
"php": ">=8.0",
1515
"ext-dom": "*",
1616
"ext-libxml": "*",
1717
"ext-xmlwriter": "*"
1818
},
1919
"require-dev": {
20-
"friends-of-phpspec/phpspec-code-coverage": "^6.1",
21-
"friendsofphp/php-cs-fixer": "^3.4",
22-
"phpspec/phpspec": "^7.0",
23-
"phpstan/phpstan": "^1.2"
20+
"friends-of-phpspec/phpspec-code-coverage": "^6.3",
21+
"friendsofphp/php-cs-fixer": "^3.16",
22+
"phpspec/phpspec": "^7.3",
23+
"phpstan/phpstan": "^1.10"
2424
},
2525
"autoload": {
2626
"psr-4": {
@@ -32,11 +32,11 @@
3232
"test-ci": "phpspec run --no-interaction --verbose",
3333
"lint": "php-cs-fixer fix src --rules=@PSR12",
3434
"lint-ci": "php-cs-fixer fix src --dry-run --rules=@PSR12",
35-
"analyse": "phpstan analyse --level 4 src"
35+
"analyse": "phpstan analyse --level 7 src"
3636
},
3737
"config": {
3838
"platform": {
39-
"php": "7.3"
39+
"php": "8.0.28"
4040
},
4141
"sort-packages": true
4242
}

0 commit comments

Comments
 (0)