Skip to content

Commit ed4f00a

Browse files
committed
Add PHPStan, Psalm in community job
1 parent bd042a5 commit ed4f00a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test-suite.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,23 @@ jobs:
482482
echo opcache.jit_hot_return=1 >> /etc/php.d/opcache.ini
483483
echo opcache.jit_hot_side_exit=1 >> /etc/php.d/opcache.ini
484484
php -v
485+
- name: Test Psalm
486+
if: ${{ !cancelled() }}
487+
run: |
488+
git clone https://github.com/vimeo/psalm.git --depth=1 --branch 41da396ad5d05fb48caa4e5a24be53479a009f60
489+
cd psalm
490+
git rev-parse HEAD
491+
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
492+
./psalm --force-jit
493+
- name: Test PHPStan
494+
if: ${{ !cancelled() }}
495+
run: |
496+
git clone https://github.com/phpstan/phpstan-src.git --depth=1 --branch b70fb0f60f1dca299fbf5a7302f25441c2354cd4
497+
cd phpstan-src
498+
git rev-parse HEAD
499+
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
500+
sed -i 's/max(80599)/max(99999)/' conf/parametersSchema.neon
501+
./bin/phpstan
485502
- name: Test AMPHP
486503
if: ${{ !cancelled() }}
487504
run: |

0 commit comments

Comments
 (0)