Skip to content

excludePaths must not filter as wildcard #10299

@mvorisek

Description

@mvorisek

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*.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions