File tree Expand file tree Collapse file tree 4 files changed +12
-25
lines changed
Expand file tree Collapse file tree 4 files changed +12
-25
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66
77env :
8- PSALM_PHP_VERSION : " 8.5"
8+ PHPSTAN_PHP_VERSION : " 8.5"
99 COVERAGE_PHP_VERSION : " 8.5"
1010
1111jobs :
5656 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5757 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5858
59- psalm :
60- name : Psalm
59+ phpstan :
60+ name : PHPStan
6161 runs-on : ubuntu-latest
6262
6363 steps :
@@ -67,13 +67,13 @@ jobs:
6767 - name : Setup PHP
6868 uses : shivammathur/setup-php@v2
6969 with :
70- php-version : ${{ env.PSALM_PHP_VERSION }}
70+ php-version : ${{ env.PHPSTAN_PHP_VERSION }}
7171
7272 - name : Install composer dependencies
7373 uses : ramsey/composer-install@v3
7474
75- - name : Run Psalm
76- run : vendor/bin/psalm --no-progress
75+ - name : Run PHPStan
76+ run : vendor/bin/phpstan --no-progress
7777
7878 coding-standard :
7979 name : Coding Standard
Original file line number Diff line number Diff line change 1212 },
1313 "require-dev" : {
1414 "phpunit/phpunit" : " ^11.0" ,
15- "vimeo/psalm " : " 6.15.1 "
15+ "phpstan/phpstan " : " 2.1.42 "
1616 },
1717 "autoload" : {
1818 "psr-4" : {
Original file line number Diff line number Diff line change 1+ parameters :
2+ level : 10
3+ checkUninitializedProperties : true
4+ paths :
5+ - src
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments