Skip to content

Commit 85c7f6d

Browse files
committed
phan
1 parent 00d24ff commit 85c7f6d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,17 @@ jobs:
9090
- name: Run psalm
9191
if: ${{ matrix.os != 'windows-latest' }}
9292
run: vendor/bin/psalm
93-
- name: Run phan
93+
- name: Install and run phan
9494
if: ${{ matrix.os != 'windows-latest' }}
95-
run: vendor/bin/phan
95+
run: |
96+
composer require --dev phan/phan:^5.5.2
97+
vendor/bin/phan
9698
# AST 1.1 binary for Windows seems to be missing on PECL
9799
- name: Run phan with polyfill
98100
if: ${{ matrix.os == 'windows-latest' }}
99-
run: vendor/bin/phan --allow-polyfill-parser
101+
run: |
102+
composer require --dev phan/phan:^5.5.2
103+
vendor/bin/phan --allow-polyfill-parser
100104
- name: Run tests with coverage
101105
if: ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
102106
run: php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml --log-junit=junit.xml

0 commit comments

Comments
 (0)