Skip to content

Commit a20031a

Browse files
committed
update phan to 6
1 parent 6266058 commit a20031a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
- ""
5151
include:
5252
- os: windows-latest
53-
php_version: 8.1
53+
php_version: 8.3
5454
dependencies_level: --prefer-lowest
5555
- os: windows-latest
56-
php_version: 8.1
56+
php_version: 8.3
5757
dependencies_level: ''
5858
runs-on: ${{ matrix.os }}
5959
steps:
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
coverage: 'xdebug'
7171
php-version: ${{ matrix.php_version }}
72-
extensions: ast-1.1.1
72+
extensions: ast-1.1.3
7373
- name: Cache dependencies
7474
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
7575
with:
@@ -90,11 +90,11 @@ jobs:
9090
if: ${{ matrix.os != 'windows-latest' }}
9191
run: vendor/bin/psalm
9292
- name: Run phan
93-
if: ${{ matrix.os != 'windows-latest' }}
93+
if: ${{ matrix.os != 'windows-latest' && matrix.php_version != '8.1' && matrix.php_version != '8.2' }}
9494
run: vendor/bin/phan
9595
# AST 1.1 binary for Windows seems to be missing on PECL
9696
- name: Run phan with polyfill
97-
if: ${{ matrix.os == 'windows-latest' }}
97+
if: ${{ matrix.os == 'windows-latest' && matrix.php_version != '8.1' && matrix.php_version != '8.2' }}
9898
run: vendor/bin/phan --allow-polyfill-parser
9999
- name: Run tests with coverage
100100
if: ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"require-dev": {
3333
"ergebnis/composer-normalize": "^2.45",
3434
"nikic/php-parser": "< 5.0.1",
35-
"phan/phan": "^5.4.5",
35+
"phan/phan": "^6.0.0",
3636
"phpstan/phpstan": "^2.0",
3737
"phpstan/phpstan-strict-rules": "^2.0",
3838
"phpunit/phpunit": "^9.6.15",
@@ -44,6 +44,7 @@
4444
},
4545
"config": {
4646
"allow-plugins": {
47+
"cweagans/composer-patches": true,
4748
"dealerdirect/phpcodesniffer-composer-installer": true,
4849
"ergebnis/composer-normalize": true
4950
}

0 commit comments

Comments
 (0)