Skip to content

Add magento/magento-coding-standard as a dependency to magento/magento2  #4

Closed
@lenaorobei

Description

@lenaorobei

Description

This unified coding standard will contain all Magento related sniffs, so there is no need to keep core sniffs under Magento 2 dev/tests/static folded.

Acceptance Criteria

  1. Sniffs are removed from Magento 2 dev/tests/static/framework/Magento folder.
  2. magento/magento-coding-standard depencency is added to the require-dev section of Magento 2 composer.json file.
  3. No duplicate findings detected by other static tools (eg: Magento\TestFramework\Utility\XssOutputValidatorTest covers the same as XssTemplateSniff, FinalImplementation Mess Detector rule and FinalImplementation sniff).
  4. Static build is green.

Additional information

Needs to be done after the first Magento Coding Standard release.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions