Bug report
Config like:
parameters:
level: 6
paths:
- .
excludePaths:
- vendor
scanDirectories:
- vendor-custom
is currently not working as excludePaths vendor filters vendor-custom.
Code snippet that reproduces the problem
n/a
Expected output
I would expect it to filter vendor/* but not vendor*.