File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,19 @@ jobs:
8989 - name : Run psalm
9090 if : ${{ matrix.os != 'windows-latest' }}
9191 run : vendor/bin/psalm
92- - name : Run phan
92+ - name : Install and run phan
9393 if : ${{ matrix.os != 'windows-latest' }}
94- run : vendor/bin/phan
94+ run : |
95+ rm composer.lock
96+ composer require ${{ matrix.dependencies_level }} --dev phan/phan:^5.4.5
97+ vendor/bin/phan
9598 # AST 1.1 binary for Windows seems to be missing on PECL
96- - name : Run phan with polyfill
99+ - name : Install and run phan with polyfill
97100 if : ${{ matrix.os == 'windows-latest' }}
98- run : vendor/bin/phan --allow-polyfill-parser
101+ run : |
102+ rm composer.lock
103+ composer require ${{ matrix.dependencies_level }} --dev phan/phan:^5.4.5
104+ vendor/bin/phan --allow-polyfill-parser
99105 - name : Run tests with coverage
100106 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
101107 run : php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml --log-junit=junit.xml
Original file line number Diff line number Diff line change 2222 'directory_list ' => [
2323 'MO4 ' ,
2424 'tests ' ,
25- 'vendor/squizlabs/php_codesniffer ' ,
26- 'vendor/symfony/polyfill-php83 ' ,
25+ 'vendor ' ,
2726 ],
2827
2928 // A directory list that defines files that will be excluded
3837 // should be added to both the `directory_list`
3938 // and `exclude_analysis_directory_list` arrays.
4039 "exclude_analysis_directory_list " => [
41- 'vendor/ '
40+ 'vendor/ ' ,
4241 ],
4342];
Original file line number Diff line number Diff line change 3232 "require-dev" : {
3333 "ergebnis/composer-normalize" : " ^2.45" ,
3434 "nikic/php-parser" : " < 5.0.1" ,
35- "phan/phan" : " ^5.4.5" ,
3635 "phpstan/phpstan" : " ^2.0" ,
3736 "phpstan/phpstan-strict-rules" : " ^2.0" ,
3837 "phpunit/phpunit" : " ^9.6.15" ,
You can’t perform that action at this time.
0 commit comments