Skip to content

Commit a339f88

Browse files
authored
Add support for php8.1 (#1)
1 parent ca3d153 commit a339f88

File tree

11 files changed

+48
-4005
lines changed

11 files changed

+48
-4005
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ ubuntu-latest, windows-latest ]
12-
php: [ 8.0, 7.4 ]
12+
php: [ 8.1, 8.0, 7.4 ]
1313
stability: [ prefer-stable ]
1414

1515
name: PHP${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ testbench.yaml
99
vendor
1010
.php-cs-fixer.cache
1111
.phpunit.cache
12+
composer.lock

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.4|^8.0",
21+
"php": "^7.4|^8.0|^8.1",
2222
"ext-json": "*",
2323
"guzzlehttp/psr7": "^1.6|^2.0",
2424
"guzzlehttp/guzzle": "^7.0"
@@ -41,8 +41,8 @@
4141
"minimum-stability": "dev",
4242
"prefer-stable": true,
4343
"scripts": {
44-
"test": "vendor/bin/pest",
45-
"analyse": "phpstan analyse src tests",
44+
"test": "vendor/bin/pest --colors=always",
45+
"analyse": "phpstan analyse --ansi --debug",
4646
"php-cs-fixer": [
4747
"php-cs-fixer fix src --rules=@PSR2",
4848
"php-cs-fixer fix tests --rules=@PSR2"

0 commit comments

Comments
 (0)