Skip to content

[Enhancement] Improve Magento.Annotation rules #3

Closed
@lenaorobei

Description

@lenaorobei

Description

PHP CodeSniffer goes out-of-box with beautifier tool (phpcbf). To use this functionality sniff should throw fixable warning/error and provide fix (tokens replacement, content change, etc).
Now rules under Magento/Annotation raise regular warnings so annotation issues cannot be fixes automatically by phpcbf.

Expected behavior

The sniff throws fixable warning instead of warning and provides fix for an issue it detects.

Benefits

Annotation issues will be fixable automatically by phpcbf tool.

Additional information

Useful links:

  1. Coding Standard Tutorial
  2. Beautifier Tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedNew rule is acceptedenhancementImprovements to existing rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions