File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments