Skip to content

Commit 253133b

Browse files
authored
Merge pull request #6668 from kenjis/update-phpstan-php-8.1
chore: update PHPStan PHP version to 8.1
2 parents 553ab0f + bb9a879 commit 253133b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/test-phpstan.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ jobs:
3333
runs-on: ubuntu-20.04
3434
strategy:
3535
fail-fast: false
36-
matrix:
37-
php-versions: ['8.0', '8.1']
3836
steps:
3937
- name: Checkout
4038
uses: actions/checkout@v3
4139

4240
- name: Setup PHP
4341
uses: shivammathur/setup-php@v2
4442
with:
45-
php-version: ${{ matrix.php-versions }}
43+
php-version: '8.1'
4644
extensions: intl
4745

4846
- name: Use latest Composer

phpstan-baseline.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ parameters:
301301
path: system/Database/MySQLi/Result.php
302302

303303
-
304-
message: "#^Strict comparison using \\=\\=\\= between array and false will always evaluate to false\\.$#"
304+
message: "#^Strict comparison using \\=\\=\\= between array<string, int|string|null> and false will always evaluate to false\\.$#"
305305
count: 1
306306
path: system/Database/Postgre/Connection.php
307307

phpstan.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ includes:
1616
- phpstan-baseline.neon.dist
1717

1818
parameters:
19-
phpVersion: 80000
19+
phpVersion: 80100
2020
tmpDir: build/phpstan
2121
level: 5
2222
paths:

0 commit comments

Comments
 (0)