Skip to content

How to exclude PHP Core classes?  #338

Open
@ghost

Description

Support Question

I want to protect my domain from classes outside namespace but not the PHP core classes, e.g. \DateTimeImmutable etc.
How to I do that globally? I can exclude them for example passing then to NotHaveDependencyOutsideNamespace as second argument, but that's to much overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions