File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -90,13 +90,19 @@ jobs:
9090 - name : Run psalm
9191 if : ${{ matrix.os != 'windows-latest' && !(matrix.dependencies_level == '--prefer-lowest' && matrix.php_version == '8.5') }}
9292 run : vendor/bin/psalm
93- # - name: Run phan
94- # if: ${{ matrix.os != 'windows-latest' }}
95- # run: vendor/bin/phan
96- # # AST 1.1 binary for Windows seems to be missing on PECL
97- # - name: Run phan with polyfill
98- # if: ${{ matrix.os == 'windows-latest' }}
99- # run: vendor/bin/phan --allow-polyfill-parser
93+ - name : Install and run phan
94+ if : ${{ matrix.os != 'windows-latest' }}
95+ run : |
96+ rm composer.lock
97+ compsoer require --dev phan/phan
98+ vendor/bin/phan
99+ # AST 1.1 binary for Windows seems to be missing on PECL
100+ - name : Install and run phan with polyfill
101+ if : ${{ matrix.os == 'windows-latest' }}
102+ run : |
103+ rm composer.lock
104+ compsoer require --dev phan/phan
105+ vendor/bin/phan --allow-polyfill-parser
100106 - name : Run tests with coverage
101107 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
102108 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