Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FEAT] Magento Coding Standards / PHP Compatibility tests #27

Closed
@ihor-sviziev

Description

@ihor-sviziev

💡 Feature request

Feature Name

Run Magento Coding Standards on top of my module(s)

The Desired Behavior

I'd like to have the ability to run the Magento Coding Standards static test for my module from the module' or from the project's repository.
In addition to that, I'd like to select the Coding Standard version.

Also, I would like to have the ability to run PHP compatibility tests.

https://github.com/magento/magento-coding-standard
https://github.com/PHPCompatibility/PHPCompatibility

Note: here are the examples:
https://github.com/extdn/github-actions-m2/tree/master/magento-coding-standard
https://github.com/extdn/github-actions-m2/tree/master/magento-copy-paste-detector
https://github.com/extdn/github-actions-m2/tree/master/magento-mess-detector
https://github.com/extdn/github-actions-m2/tree/master/magento-phpstan
https://github.com/extdn/github-actions-m2/tree/master/php-compatibility

They are based on docker and do not support configuring the standard coding version, for instance.

TODO:

  • Run PHPCS on top of magento-coding-standard
  • Run PHPCS for PHP compatibility
  • Run PhpStan
  • Run PHPMD
  • Run Copy-Paste detector

Your Use Case

Prior Work

Environment


Magento version: X.Y.Z 
PHP Version version: X.Y.Z 


Others:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions