Skip to content

Do not execute tested code #67

@JanTvrdik

Description

@JanTvrdik

Currently PHPStan claims to be „PHP Static Analysis Tool“ but this is actually a lie, because phpstan executes the tested code which makes using the tool quite dangerous.

The correct solution is to use a library such as https://github.com/Roave/BetterReflection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions