jit_bugs/bugs/1_psalm.sh

17 lines
310 B
Bash
Raw Normal View History

2023-10-23 21:59:18 +02:00
#!/bin/bash -e
cd /tmp
git clone https://github.com/vimeo/psalm
cd psalm
git checkout 7428e49b115a2a837aa29cf0fafd0ca902fe2457
export PSALM_ALLOW_XDEBUG=1
composer i --ignore-platform-reqs
2023-10-23 22:10:11 +02:00
echo "About to run phpunit"
2023-10-23 21:59:18 +02:00
php vendor/bin/phpunit --debug tests/MagicMethodAnnotationTest.php
echo "OK, no bugs!"