megalinter
megalinter copied to clipboard
Wrong behaviour of PSALM inside docker
Describe the bug
If I run it locally, it works correctly but through Megalinter it only works if I don't ignore the vendor folder.
To Reproduce
- Run the
test_local.ps1
script and check that there are no issues. - Execute the script
test_docker.ps1
and check that there are errors. - Open the
.mega-linter.yml
file and comment theFILTER_REGEX_EXCLUDE
line. - Execute the script
test_docker.ps1
and check that there are no issues.
I obviously don't want to analyze the scripts in the vendor folder (they are from third party libraries) but I do want to include them with the psalm.xml file so that it resolves the dependencies of my code correctly.