Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

Allow filters with binary #29

@goatherd

Description

@goatherd

It would be great to filter files for recursive dictionary scans or to filter class names that are assumed autoloadable but not provided by the bootstrapping.

May either add comma-separated lists with the binary or provide a (xml) config file to do so.

Use cases might be

  • avoid paths like */tests/* from being parsed (which might be mixed within libraries for quiet a few frameworks). I am aware that you can use shell tools (like find) for those. It's just the effort to write and debug those commands is quiet high, as it is to name all directories and files wanted to skip a few unwanted ones.
  • support extensions like PHPUnit or FirePHP or other optional libraries not provided by bootstrapping

The latter seeming more important to me.

On a side note: Do you mind getting the tool that complex? It's more fun working with you, but if you do not care too much about other frameworks or find it to bothersome just say so.
I did some tests on a phpcs integration which would at least provide file name filters and allows usage of config files. Well, the main reason to do so is to enable pdc with a simple config switch, as phpcs is quiet widely used. Still some further improvement is needed to make it stable enough with major frameworks. Especially on-demand annotation support and stable class name detection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions