Skip to content

Sniff properties not set when referencing a sniff using relative paths or non-native slashes #2497

Closed
@yguedidi

Description

@yguedidi

When using this syntax:

<rule ref="./path/to/sniff/class.php">
    <properties>
        <property name="foo" value="bar" />
    </properties>
</rule>

The sniff will the value from the class, not the one configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions