Trying to reproduce Psalm issue vimeo/psalm#9340
- Clone this repository
- Run
docker-compose up
- After container is up and running, run following commands
docker-compose exec php composer install
to install Psalmdocker-compose exec php ./vendor/bin/psalm
With taht you should see that Psalm crashes, and if you change Psalm version to 5.6
in composer.json
file and install it then you will see expected results.
Copyright © 2023 Tarmo Leppänen