File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1111 include :
1212 - operating-system : ' ubuntu-latest'
1313 php-version : ' 8.1'
14+ psalm : ' skip'
1415
1516 - operating-system : ' ubuntu-latest'
1617 php-version : ' 8.2'
2021
2122 - operating-system : ' ubuntu-latest'
2223 php-version : ' 8.4'
23- static-analysis : none
24- style-fix : none
2524
2625 - operating-system : ' ubuntu-latest'
2726 php-version : ' 8.5'
28- static-analysis : none
29- style-fix : none
30-
3127
3228 name : PHP ${{ matrix.php-version }} ${{ matrix.job-description }}
3329
6965 composer-${{ runner.os }}-
7066 composer-
7167
68+ - name : Remove psalm/phar
69+ run : composer remove --no-update --dev psalm/phar
70+ if : matrix.psalm == 'skip'
71+
7272 - name : Install dependencies
7373 uses : nick-invision/retry@v2
7474 with :
8484
8585 - name : Run static analysis
8686 run : vendor/bin/psalm.phar
87- if : matrix.static-analysis != 'none '
87+ if : matrix.psalm != 'skip '
8888
8989 - name : Run style fixer
9090 env :
Original file line number Diff line number Diff line change 3131 "amphp/phpunit-util" : " ^3" ,
3232 "phpunit/phpunit" : " ^9" ,
3333 "amphp/php-cs-fixer-config" : " ^2" ,
34- "psalm/phar" : " 5.23 "
34+ "psalm/phar" : " 6.15.1 "
3535 },
3636 "autoload" : {
3737 "psr-4" : {
Original file line number Diff line number Diff line change 2727 </errorLevel >
2828 </MissingClosureReturnType >
2929
30+ <PossiblyUnusedMethod >
31+ <errorLevel type =" suppress" >
32+ <directory name =" src" />
33+ </errorLevel >
34+ </PossiblyUnusedMethod >
35+
3036 <RiskyTruthyFalsyComparison >
3137 <errorLevel type =" suppress" >
3238 <directory name =" src" />
You can’t perform that action at this time.
0 commit comments