This is to reproduce the issue described at phpstan/phpstan#9554 (comment), where
the phpstan excludePath
is is still analysing or scanning the files in the excluded path, which causes an error when
orchestra/testbench creates a symliunk at vendor/orchestra/testbench-core/laravel/vendor
(in an excluded path).
- Clone this repository
- Run
docker compose build --pull
- Run
docker compose up -d
- Run
docker compose exec app composer install
- Run
docker compose exec app ./vendor/bin/phpstan --configuration=phpstan.neon analyse --error-format=raw --memory-limit=1G