Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Directories in "dev/tests/" should be excluded from some static rules #80

Copy link
Copy link
Closed
@danielrenaud

Description

@danielrenaud
Issue body actions

Preconditions

magento-coding-standard v1.0.1

Steps to reproduce

  1. Create some code somewhere in dev/tests/* that violates a rule like "Magento2.Exceptions.DirectThrow"

Results

The dev/tests/* directories are not excluded, so all rules are applied, even if they are not necessary for test code.
Exactly which rules should be excluded may be up for discussion, but I would assume the same exclusions for */Tests/* would apply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.